Community Page
- www.tech-recipes.com/ Jump to website »
-
Subscribe -
Community
-
Top Commenters
-
Popular Threads
-
Recent Comments
- Thank you so much
- hey
- Thanks mate, Just what I was looking for. It seemed to be a different way of doing things in Leopard than previous versions. Cheers, Mitch
- thanks, i couldnt remember.
- I did this in Garage band, but if forced me to trip the song to 8 seconds in order to send it to itunes ringtones - any ideas on this? Using the new 3GS.
Tech-Recipes
Cookbook of Tech TutorialsCreate Batch File to Start or End Window Services | Batch file programming | Tech-Recipes
Started by qdideas · 9 months ago
4 years ago
You can check it out here: http://www.visualcron.com
4 years ago
3 years ago
I like the fact that you can save a profile of services and apply it later. You can save your original service configuration and then experiment safely - if anything goes wrong, you can just restore the original configuration.
3 years ago
Any help would be greatly appreciated!
3 years ago
sc \servername STOP "Servicename"
where sc is the service control utility in resource kit. You can use START to start a service and other switches to do the following:
sc \servername config servicename start=(boot, system, auto, demand, disabled)
3 years ago
'net' is not recognize as an internal or external command.
When that happens, this usually indicates that there is a problem with your PATH setting. To fix this, while in a command prompt, type PATH and hit the [enter] key. Your PATH variable may be long or short, depending on what programs have modified it, what you've done, etc..
What you need to do is make sure that you have C:WindowsSystem32 as the first location in the PATH line (assuming you are using WinXP). To fix the problem, type:
PATH %SystemRoot%System32
And add any other path locations that may already be listed before you modified the path. Separate each individual path location with a semi-colon ( ; ).
I usually keep my path variable simple:
PATH %SystemRoot%System32;%SystemRoot%;%SystemRoot%Progra~1;C:;D:;E:
EDIT: Sometimes setting this through a command prompt will not work, as the PATH variable may automatically be reset to what it was before you modified it. If this is the case, you can change the path by the following alternative method (assuming you're using WinXP):
Right-click on "My Computer" and choose "Properties"
Click the "Advanced" tab
Click the "Environment Variables" button
In the "System Variables" box, click on "Path", and click "Edit"
Make the changes to your path variable, then click "Ok"
Click "Ok" to exit all dialog windows.
This should save your PATH variable correctly.
7 months ago
I am using net start to start a service. but my service name has sqaure brackets soemthign like abc[32.0] and becuase of square braces its failing. does anyone know escapae sequence for this?
many thanks
savita.
4 months ago
Thks, Regards
3 months ago
NET STOP "Service Name" (The service stops after a second or two)
SC Config "Service Name" start= disabled
But this error is produced on the second line: -
[SC] OpenService FAILED 1060: The specified service does not exist as an installed service.
Patently the service does exist as it was stopped successfully in the first line.
Thanks, Leigh
3 months ago
2 months ago
If the service is disabled, we cannot start the service using '' net start command ''