How to delete service (with space in its name)?

Status
Not open for further replies.

adu123

Posts: 278   +0
How can I delete a service with space in its name using cmd command?

I know sc delete <service name> won't delete the service since it has a space in its name.

Any help are appreciated:)

Thanks in advance.



adu123,
 
Type Cmd /?
to get a full list of all commands, then enter the selected command and read the instructions.
 
Hey just use the script below just take away the x on [xcode] and [x/code] it does not matter if there is a space

We need to get rid of one of the services running on your machine. To do this, copy (Ctrl +C) and paste (Ctrl +V) the text in the code box below to Notepad.

[xcode]
@echo off
sc stop enter service name
sc delete enter service name
del service.cmd and exit
[x/code]

Save it to your desktop as File name: service.cmd
Save as type: All Files

Once done, double click service.cmd to run it. A command window will open briefly, then close. This is quite normal.
 
Status
Not open for further replies.
Back