Advertisement

1 - 10 of 74 containing alltags:("errorlevel") (0 seconds)
I want to run pkunzip from a VB5 and can't figure out how to get the errorlevel after it has run. Thanks
Zones: Visual BasicDate Answered: 06/09/1997 Grade: A Views: 0
@echo off net use z: /delete echo net use z: \\MAIN\PdddWRD net use z: \\MAIN\PdddWRD if errorlevel 67 goto err67 goto :exit :Err67 Echo ***Err 67*** :exit pause If the UNC can not be...
Zones: CDate Answered: 10/20/2000 Grade: A Views: 0
Hi, I'm running a childprocess with the exec command and these programs return an errorlevel. Is there a way to get these in my Pascal program? (In a batchfile I can ask them with the errorleve...
Zones: PascalDate Answered: 06/15/2001 Grade: A Views: 0
I have a windows program. It returns and error code e.g. exit( -1 ); //for error exit( 0 );  //for ok I want to read the error code from a dos batch file. my batch file looks like: @echo o...
Zones: Windows 98Date Answered: 10/24/2001 Grade: A Views: 0
Hello,    I have a batch file that I run in order to back up a users computer before we reload it.  The batch file basically connects to a network share and copies the users files to a directory...
Zones: Windows 98Date Answered: 01/19/2003 Grade: A Views: 0
How can I check for a specific %ERRORLEVEL% value in a batch file? Say I want to GOTO label 'DONOTCONTINUE' if the %ERRORLEVEL% variable is exactly equal to 13. How would I check for that?
Zones: MS DOSDate Answered: 09/24/2004 Grade: A Views: 0
I have a very frequent bit of code in a batch that I want to be able to call, then return from - a subroutine... I never learned how to write this in a batch. Here's my example: (More comments a...
Zones: MS DOSDate Answered: 06/04/2004 Grade: A Views: 0
Hi, In the script bellow I am trying to ensure that the second command does not execute if the first fails.  The problem is even if the first command is successful the script moves to the subrou...
Zones: MS DOSDate Answered: 10/04/2006 Grade: A Views: 0
I need to batch-compare files. If I use comp.exe (included in windows), the batch stops and asks "compare another set of files?" <- this is what I would like to suppress. For comp.exe, there is no ...
Zones: Windows XPDate Answered: 07/12/2007 Grade: A Views: 19
I'm trying to do a bulk dsadd user (which I can do) and add the samid to a log file if it was unable to add the user. I have tried adding if not errorlevel 0 command without success. I am using the...
Zones: Windows Batch, Windows 2003 ServerDate Answered: 07/23/2007 Grade: A Views: 14