Sorry to barge in like this. I have a problem. I ineed to access the errorlevel as it exists upon entrance to a c program. I am trying to simulate IF ERRORLEVEL nnn in C, or assemble. Can anyone help?