Clickable service start/stop cmd or bat file. Possible?

Page 2 of 2 FirstFirst 12

  1. Posts : 94
    Windows 7 Professional 32-bit///Vista Home Premium 32-bit
    Thread Starter
       #11

    And I would like to post that my .bat files work brilliantly. The only thing better would be a way to make the command window auto-close after each start or stop. But that is being pretty picky....lol

    I didn't need to follow Kari's advice as they worked immediatly with the double click.....probably because I'm signed into my super admin account. But I guess I could use Kari's info to allow me to make .bat files that work for other users so they can start or stop the service easily.

    AWESOME!!!!!!

    Going to bed......lol! Tooooooo much partying. Thanks guys.

    If there is a way to mark this topic as solved, I would appreciate that very much.
      My Computer


  2. Posts : 31,242
    Windows 11 Pro x64 [Latest Release and Release Preview]
       #12

    Type the line @echo off as the first line of the bat file
    and add the exit line to the end line

    this should auto close although the default should be to close at the end of file anyway
      My Computers


 
Page 2 of 2 FirstFirst 12

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 05:03.
Find Us