i have a service that needs to run once in a while a batch file.
i tried winexec(), shellexecute(), shellexecuteex(), system() and createprocess(). they all return success but the batch file never gets executed.
yes, the service runs as local and it's set to SERVICE_INTERACTIVE_PROCESS.
and yes, the account is administrator
question: how to run a simple batch file from a service.
code is appreciated.