Suggest some method in finding batch net status for my project

Asked By 10 points N/A Posted on -
qa-featured

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.

SHARE
Best Answer by Randolph Brownlow
Best Answer
Best Answer
Answered By 5 points N/A #167279

Suggest some method in finding batch net status for my project

qa-featured

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.

Related Questions