If you want to do this and also use names and paths containing spaces, introduce
escaped double quotes like this:
sc create “service name” binPath= “\”C:\some dir\Tor\App\tor.exe\” –nt-service -f \”C:\some dir\Tor\Data\Tor\torrc\””
The single space right after binPath= is needed!
sc create “service name” binPath= “\”C:\some dir\Tor\App\tor.exe\” –nt-service -f \”C:\some dir\Tor\Data\Tor\torrc\””
The single space right after binPath= is needed!
No comments:
Post a Comment