service

How to: register service with SC command without losing quotes in binpath value

Registering a service on a Windows machine with SC command is rather straightforward process, and you may use /? to familiarize yourself with switches etc. There is only one issue which you may run into – most of binaries which are being registered as a services on Windows machines reside in “C:\Program Files” or “C:\Program Files How to: register service with SC command without losing quotes in binpath value