windows - Executing SC command with a "/" in the Service name -




i want execute following command in cmd start / stop services on remote computer getting error.

c:\>sc testpc query "i/my service"  

the problem here service name having forward slash in it. how can solve this?

this has nothing sc command itself. documentation openservice:

forward-slash (/) , backslash (\) invalid service name characters.

the documentation createservice contains same restriction. service names not allowed contain forward or backward slashes.





wiki

Comments

Popular posts from this blog

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -

Asterisk AGI Python Script to Dialplan does not work -