Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sc.exe \myServer stop myService 1> NUL
- SET RemoteComputer=\myServer
- sc.exe %RemoteComputer% stop myService 1> NUL
- SET RemoteComputer=myServer
- sc.exe \%RemoteComputer% stop myService 1> NUL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement