1

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?

3
  • 5
    I'll start by asking you a question. How many services do you know, or have, which run with a visible window?
    – Compo
    Commented Jul 24, 2020 at 13:14
  • oh wait i feel so dumb now.....winrar acually opens if i see in task manager....sorry I am pretty new to this. Commented Jul 24, 2020 at 13:26
  • I’m voting to close this question because this was a simple misunderstanding of the concept, and the OP has acknowledged it. Keeping this question open adds no value to others, in fact it may detract from what people may be looking for Commented Jan 11, 2023 at 12:23

1 Answer 1

1

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

1
  • Self awareness is the best awareness. +1
    – CodeJockey
    Commented Apr 9 at 17:09

Not the answer you're looking for? Browse other questions tagged or ask your own question.