AwesomeVk47
AwesomeVk47

Reputation: 83

Using a BAT file as service with NSSM

I am writing a .BAT script which goes as follows:

cd "C:\Program Files\WinRAR"

winrar.exe

Double clicking this batch file works fine and openes winrar for me....now i try installing it as service with NSSM

i place nssm.exe in the same directory as my batch file and proceed to install it like following:

enter image description here

enter image description here

All other tabs are left unchanged. when I open services.msc and manually click start on this service it shows running but nothing happens. Can anyone tell me what I did wrong?

Upvotes: 1

Views: 10923

Answers (1)

AwesomeVk47
AwesomeVk47

Reputation: 83

Sorry for asking this dumb question....it actually runs in baground like all services.

Upvotes: 1

Related Questions