How to run a batch file or executable file through a Windows Service?
Some times we would like to run a batch file or exe file from windows service, this is very simple.
For example you have a batch file – ABC.bat and you want to run it from windows service, following is the command to do that.
Open command prompt.
C:\ABC.bat /R <Password to run the service as log on>
No comments:
Post a Comment