Asked By
jim bbauman
10 points
N/A
Posted on - 03/28/2013
Hi friends,
I had created the batch files to work with my project for DOS. I need to know the batch net status at the end of my batch script which restart services using net stop thing and net start thing. Please help me in finding the batch net status of my batch files.
Suggest some method in finding batch net status for my project
Hello Jim
In Windows XP, if you type NET START /LIST you will get an error. Just type in NET START. In this case, if it returns errorlevel 2 go to AlreadyRunning and if it returns errorlevel 1 go to Error. I have also provided you a link, from where I think you might get a little more information regarding your problem.
Batch Status
I hope you will find this information useful.
Randolph.