Jump to content

rakeshmathur

Member
  • Posts

    2
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

About rakeshmathur

rakeshmathur's Achievements

0

Reputation

  1. Okay, I was able to get this to work, this is the final script I used: FOR %%a IN (%Svcs%) DO (SC query %%a | FIND /i "RUNNING" IF ERRORLEVEL 1 SC start %%a) the parentheses did the trick. Thanks RM
  2. Maybe no one is looking for this anymore...but thid did not work when I used on Windows 2003. I am having trouble executing this line: IF ERRORLEVEL 1 SC start %%a Can anyone help? Thanks! RM
×
×
  • Create New...