webapp running secure in background windows server

Hi, I’m running a webapp as standalone on a windows server. Now also secure…! Yes, finally. (on amazon, security groups, firewall, certificate etc…)

But I’m using this command: https_test>https_test.exe --secureport=8293

but now I want to have it as a background.

Normally for a non-secure xojo docs tells me:
sc create XojoWebSvc type= own start= auto binpath= c:\Path\To\Exe\WebApp.exe

but how do I include the --secureport=8293 into that… ?

anyone ?

Found the solution… include the whole path with command inside “” marks.

sc create XojoWebSvc type= own start= auto binpath= “c:\Path\To\Exe\WebApp.exe --secureport=8293”