I want to run pkunzip from a VB5 and can't figure out how to get the errorlevel after it has run. Thanks
http://www.experts-exchange.com/Programming/Languages/Visual_Basic/Q_10013781.html
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...
http://www.experts-exchange.com/Programming/Languages/C/Q_11566258.html
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...
http://www.experts-exchange.com/Programming/Languages/Pascal/Q_20132648.html
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...
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/98/Q_20199692.html
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...
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/98/Q_20328392.html
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?
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/Q_20913090.html
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...
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/Q_21013734.html
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...
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/Q_22004377.html
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 ...
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/XP/Q_22691069.html
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...
http://www.experts-exchange.com/Programming/Languages/Scripting/Shell/Batch/Q_22714783.htm...