I realize this is really a basic question and this may not be the right forum but I am writing a simple script (DOS)that will check to see if a file is in a folder. If the file does not exist run the following command.
@echo off
SET PATH=Y:\;%PATH%;c:\windows\command
c:
cd "\program files\testprog\"
IF not exist test.exe goto END
call \\examsv1\groups\testgroups\setup.exe
:END
The IF line is not being used when I run the script. Primarily dealing with WIN98. I really need to learn VBS.
Any Ideas?
Thanks.
@echo off
SET PATH=Y:\;%PATH%;c:\windows\command
c:
cd "\program files\testprog\"
IF not exist test.exe goto END
call \\examsv1\groups\testgroups\setup.exe
:END
The IF line is not being used when I run the script. Primarily dealing with WIN98. I really need to learn VBS.
Any Ideas?
Thanks.