in reply to Want to communicate status of the last command to Windows machine
The environment variable %ERRORLEVEL% typically contains the exit status of the last running process. I say typically as it's up to the executable to properly exit with an actual error code.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Want to communicate status of the last command to Windows machine
by turn2me5 (Initiate) on Dec 19, 2006 at 07:37 UTC | |
by vladdrak (Monk) on Dec 19, 2006 at 08:59 UTC | |
by RedTussock (Acolyte) on Oct 07, 2012 at 17:20 UTC |
In Section
Seekers of Perl Wisdom