Soundlover4711
Technical User
Hi All!
I'd like to check if a file exists, if it exists the script should go on and do nothing, if the file doesn't exists the script should start a batch file for software installation.
In .bat it would look like this:
----------------------------------
if not exist "C:\CENTENN.IAL\AUDIT\CAgent32.exe" goto INSTALL
EXIT
:INSTALL
"C:\Program Files\Cent\InstCent.bat"
EXIT
----------------------------------
Could someone please help me in translating this to .vbs???
Thanks!!!!
I'd like to check if a file exists, if it exists the script should go on and do nothing, if the file doesn't exists the script should start a batch file for software installation.
In .bat it would look like this:
----------------------------------
if not exist "C:\CENTENN.IAL\AUDIT\CAgent32.exe" goto INSTALL
EXIT
:INSTALL
"C:\Program Files\Cent\InstCent.bat"
EXIT
----------------------------------
Could someone please help me in translating this to .vbs???
Thanks!!!!