scheduled task

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • mp

    scheduled task

    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


  • Tom Porterfield

    #2
    Re: scheduled task

    On Wed, 2 Feb 2005 11:16:58 -0600, mp wrote:
    [color=blue]
    > 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"[/color]

    What is your C# question?
    --
    Tom Porterfield

    Comment

    Working...