sc
Create the Windows Service#
Important
- Note the space between
binPath=and the path, and the quotes around the path. - Note the space between
start=and the path, and the quotes around the path.
sc.exe create <ServiceName> binPath= "<FullFilePath>" start= auto