andrewclarke
Programmer
I'm writing a simple console application to detect the windows version. I want to be able to use this from the command line.
I can display the version on screen, but how do I return it for use with errorlevel. I seem to be having a random value returned in errorlevel, no matter what I put in the 'return' value ie..
return(?);
Any help greatly appreciated.
I can display the version on screen, but how do I return it for use with errorlevel. I seem to be having a random value returned in errorlevel, no matter what I put in the 'return' value ie..
return(?);
Any help greatly appreciated.