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.
quit the batch file
Name: Tunu Date: August 21, 2003 at 08:41:22 Pacific OS: win nt CPU/Ram: intel III
Comment:
Hi All,
I am running the vbs files through the batch file. I am trying to exit the batch file without running rest of the program if there is any error occurs in the one of the vbs files. I am confused about errorlevel since when I comment out some of the codes in one the vbs files , it doesn't quit the batch file and it gives errorlevel = 0. My understanding was that if the program runs successfully, errorlevel must be "0".
If you help me how can I quit the batch file when the any kind of error occurs in the one of the vbs files, I really appreciate. My batch file looks like:
Summary: How do I close the MS-Dos Command Window after running a batch file? I have created a simple batch file that copies a dozen files from one folder to another folder for back up reasons. Works Great. ...
Summary: Here we go: I am having a custom bootable disk, where I need all the stuff and path only to the Ramdrive. Now, the Ramdrive contains an archive (cab) of my software, which contains a batch file named ...
Summary: I'm trying to write a DOS batch file that will determine which files are in a directory on a remote unix box and then write a ftp script go 'get' each of the files. So far I have writen a script that ...