in reply to Re^3: Can't write files (even redirected from shell)in thread Can't write files (even redirected from shell)
if errorlevel 1 goto script_failed_so_exit_with_non_zero_val 2>nul
--[ e d @ h a l l e y . c c ]
The batch file was created by using pl2bat on the Perl script.
I have personally used cmd /c exit 1 to set the errorcode in the past.
DejaVu Sans Mono
Droid Sans Mono
Envy Code R
Source Code Pro
The default, whatever it is
Results (57 votes). Check out past polls.