Is there any way to start a service using sc
(or any other tool) on Windows and set its working directory to a different one than C:\Windows\system32
(which is the default one) ?
I know I can specify that in the service's source code but I am looking for a solution that doesn't involve modifying the service's source code.