Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


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

08 Nov 2010   #11
Holy Moses

Windows 7 Professional 32-bit///Vista Home Premium 32-bit
 
 

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!!!!!!:sleepy :

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 System SpecsSystem Spec
.
08 Nov 2010   #12
Barman58

Windows 10 Pro x64 x3, Ubuntu
 
 

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 System SpecsSystem Spec
Reply

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




Thread Tools




Similar help and support threads
Thread Forum
I cant start or stop service
Hello guys, i have a problem. I connected from teamviwer in china, where is troublemaker computer. I have program UPS Confing (battery) and when i run it windows show me dialog box UPS Conf has stopped working. I open Task manager, service tab and i found service ADI UPS- is stopped , group N/A....
General Discussion
If Then Start Stop Service from Command Line
Is there a away from the windows 7 command line I can check if a specific service is running and if it is stop it? If not specifically stop it is it possible to just check if its there?
Software
Batch file to start a service if the service is not running
Here what I want : if servicename is running, do nothing. if servicename is not running, then start servicename, then record the date and time. based on my search online, here is what I have so far: net start | find "servicename" > nul 2>&1
General Discussion
Unable to start .jar file as a window service
Hello Everyone, This is my 1st thread, so i'm naive about the categories under which the issue i'm facing falls. I've a jar file which contains a very simple program of displaying "Hello" message in the console.I've pasted the code at the end of this thread.I want to run this jar file as a...
Software
Start Menu Item's Arrow ONLY Clickable
When I open the start menu and mouseover an item that has a right facing arrow, it automatically opens up the Recent Items pane on the right side. I don't want it to open upon mouseover, but only on-click. Is this tweak possible? ...
General Discussion


Our Sites

Site Links

About Us

Find 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 00:23.
Twitter Facebook Google+