Brian Baxter points out that to install a service from the command
prompt with quotes in the options it is necessary to quote the quotes as
follows:
nssm install service "c:\Program Files\app.exe" """C:\Path with spaces"""
\r
Don't forget to enclose paths in "quotes" if they contain spaces!\r
\r
+If you want to include quotes in the options you will need to """quote""" the\r
+quotes.\r
+\r
\r
Managing the service\r
--------------------\r
Thanks to Riccardo Gusmeroli for Italian translation.\r
Thanks to Eric Cheldelin for the inspiration to generate a Control-C event\r
on shutdown.\r
+Thanks to Brian Baxter for suggesting how to escape quotes from the command prompt.\r
\r
Licence\r
-------\r