scheduled task

M

mp

I am trying to put these 2 commands in a .bat file and I get an error if I
have them in i .bat file. however if i separate them out to 2 .bat file they
work fine. what do I need to put both comands in 1 .bat file?

NET STOP "Service1"
NET START "SERVICE2"

Thanks
 
T

Tom Porterfield

I am trying to put these 2 commands in a .bat file and I get an error if I
have them in i .bat file. however if i separate them out to 2 .bat file they
work fine. what do I need to put both comands in 1 .bat file?

NET STOP "Service1"
NET START "SERVICE2"

What is your C# question?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top