Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today

Thread Tools Search this Thread Display Modes
Old 12-19-2006, 10:04 PM   #1
Beta Member
Join Date: Dec 2006
Posts: 2
Default In desperate need of basic command script

So, I'm having some problems with automatic services in XP not automatically starting as they should. I've tried all the software fixes I could think of, and none of those worked. And I just went broke trying all the hardware fixes I could think of, too. It's just not working. But once I start the services manually, all is well. So my question is...

If I want to create a batch file, what would the command to start a service look like? For example, say I want to start the service, Themes. How would I do that from the command prompt?

Thank you.

Sound Mind is offline   Reply With Quote
Old 12-20-2006, 04:11 AM   #2
Site Team
root's Avatar
Join Date: Mar 2004
Posts: 8,052
Default Re: In desperate need of basic command script

to start a service you use the following command...
net start [service name]
for example.

net start themes


net start "print spooler"

notice theat you have to use quotes for multiple words as the space signifies a new command.
I didn’t fight my way to the top of the food chain to be a vegetarian…
Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns.
"The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries."
root is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

All times are GMT -5. The time now is 12:31 AM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0