Kontakt
DSVGO
Declare Sub ExitProcess Lib "kernel32" ( _ ByVal uExitCode As Long) 'Beispiel: ExitProcess 2Die folgende Batch zeigt, wie der Rückgabewert abgefangen kann:
START /W VBProgramm IF ERRORLEVEL 3 GOTO Err3 IF ERRORLEVEL 2 GOTO Err2 IF ERRORLEVEL 1 GOTO Err1 ECHO Kein Wert GOTO Exit :Err1 ECHO Wert 1 GOTO Exit :Err2 ECHO Wert 2 GOTO Exit :Err3 ECHO Wert 3 GOTO Exit :Exit
© Jost Schwider, 24.06.2000-24.06.2000 - http://vb-tec.de/errorlev.htm