N/APosted on - 03/28/2013
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
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.
I hope you will find this information useful.