I am trying to make a batch file that will create my service and struggling with how exactly to list each parameter. I've researched this quite a bit and I can't seem to find the correct syntax. This is what i have right now :
nssm install MDHIS_WebClient "%MDHIS2_HOME%/MDHIS_WebClient.cmd" AppDirectory %MDHIS2_HOME% DisplayName MDHIS_WebClient Start SERVICE_AUTO_START DependOnService MSSQLSERVER AppNoConsole 1 AppStopMethodConsole 30000
This works but the arguments are ignored. Can anyone show me an example of the proper syntax?