Change path to windows service

DESCRIPTION:

Modifies a service entry in the registry and Service Database. USAGE:

 sc <server> config [service name] <option1> <option2>...

OPTIONS:

NOTE: The option name includes the equal sign.

type= <own|share|interact|kernel|filesys|rec|adapt>
 start= <boot|system|auto|demand|disabled>
 error= <normal|severe|critical|ignore>
 binPath= <BinaryPathName>
 group= <LoadOrderGroup>
 tag= <yes|no>
 depend= <Dependencies(separated by / (forward slash))>
 obj= <AccountName|ObjectName>
 DisplayName= <display name>
 password= <password> 

Example :

C:\Documents and Settings\strom>sc config TransferService binPath= "T:\OMS\APL\TransferService\TransferService.exe"
 [SC] ChangeServiceConfig SUCCESS 

Windows