my $cmd = "echo %ERRORLEVEL%"; my $ret = system($cmd); return $ret; [download]
In reply to Re: access to ERRORLEVEL on Win32 by gemoroy in thread access to ERRORLEVEL on Win32 by gkraus