Computing.Net > Forums > Programming > bach file to transform in vbs

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

bach file to transform in vbs

Reply to Message Icon

Name: ecafe54
Date: June 16, 2006 at 09:50:35 Pacific
OS: win xp
CPU/Ram: celerom
Product: asrock
Comment:

Hello,

I made a little bat file than is working perfectly, except that i wish to make it running invisible.
To do so, i think i must "transform" my code into vbs file.
i know tasklist is working in vbs, but i dont know how to manage the errorlevel.

Could anyone please help me ?

this is my code :
---
@echo off
tasklist | find "cypcli.exe"
if ERRORLEVEL 1 start "" "C:\PROGRA~1\Cyberprinter\cypcli.exe"
exit
-----
the program check for cypcli.exe and if its not running, it is starting it.

Kind Regards,

Sylvain




Sponsored Link
Ads by Google

Response Number 1
Name: shahramsh
Date: June 16, 2006 at 15:28:26 Pacific
Reply:

how about
http://www.commandline.co.uk/cmdow/
cmdow.exe @ /HID


0

Response Number 2
Name: ecafe54
Date: June 18, 2006 at 09:07:09 Pacific
Reply:

thanx, but not solving my problem at all, because cmdow.exe can hide my batch file, but it cannot hide itself.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: bach file to transform in vbs

Code save file dialog box in vb.net www.computing.net/answers/programming/code-save-file-dialog-box-in-vbnet/18050.html

Input Text to Label in VB www.computing.net/answers/programming/input-text-to-label-in-vb/9421.html

Flash File in VB www.computing.net/answers/programming/flash-file-in-vb/5496.html