You need a delay. You are trying to start a service before it has stopped.
In vbscript, I would loop and check the status of the service until it had
stopped and then start it.
The Windows 2003 Resource kit has a SLEEP command that you can use, be sure
it is in the path.
http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee
-b18c4790cffd&DisplayLang=en

Signature
Scott Fenstermacher
Network Engineer
Levi, Ray and Shoup, INC
>I am trying to put these 2 commands in a .bat file and I get an error if I
> have them in 1 .bat file. however if i separate them out to 2 .bat file
[quoted text clipped - 5 lines]
>
> Thanks
Try the Sleep command
>I am trying to put these 2 commands in a .bat file and I get an error if I
> have them in 1 .bat file. however if i separate them out to 2 .bat file
[quoted text clipped - 5 lines]
>
> Thanks