ceez Posted August 3, 2006 Posted August 3, 2006 zup fellow msfn-ers....?I would like to stop and start service via dos. I type 'net help services' and it lists some services that I can start by using net start <servicename>. But the service I am trying to restart is a blackberry service. How can I list all the services so I know the correct name? Then I assume I would use net stop <servicename> and then net start <servicename>.thanks for the helpceez
vim Posted August 3, 2006 Posted August 3, 2006 It's easier is you use the "sc" command at any DOS prompt. 'sc' by itself will list all running services, then:sc stop <service> will stop service, or sc start <service>.I use it all the time.
Takeshi Posted August 3, 2006 Posted August 3, 2006 Strictly speaking, the command prompt in XP is not a DOS prompt and I don't think sc existed in MS-DOS. There's no DOS in Windows XP.
Aegis Posted August 4, 2006 Posted August 4, 2006 Strictly speaking, the command prompt in XP is not a DOS prompt and I don't think sc existed in MS-DOS. There's no DOS in Windows XP.Start > Run > Command.com
gunsmokingman Posted August 4, 2006 Posted August 4, 2006 I used this batch file to clear my printer of any jobs in queModifiy it to suit your needs.@Echo Off && CLS && Mode 75,5 && Color f3 && Title Clear Printer Queue Echo. && net stop spooler ping -n 3 127.0.0.1>nul && CLS del %systemroot%\system32\spool\printers\*.* /F /Q /S ping -n 3 127.0.0.1>nul && CLS Echo. && net start spooler
Shindo_Hikaru Posted August 4, 2006 Posted August 4, 2006 True, Windows 2k and XP kernel doesn't have any MS-DOS components in it at all—it's a pure 32-bit beast. However it includes a 16-bit emulator and a command prompt mode that looks like MS-DOS but with limted DOS commands that fuction simlular and somewhat different as real DOS.
libra Posted August 5, 2006 Posted August 5, 2006 Just open the command promptand type 'help' or 'help.exe'u will recieve a huge list of all command prompt usefuls word and with it discriptions.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now