I use other method:
add to windows environment variables folder with global bat scripts (eg. C:/my_commands)
next create in this folder file .bat where name is a command (eg. start_server.bat)
Inside script write:
@echo off
start /B /WAIT /D C:\exemple\url\to\node\app\folder node index.js
Now you can call your server start from start_server command prompt anywhere if you need arguments use this:
start /B /WAIT /D C:\exemple\url\to\node\app\folder node index.js *%
if you need current (call) location in script use this:
start /B /WAIT /D C:\exemple\url\to\node\app\folder node index.js %cd%
This way you can start console node app from windows explorer :D
I know this is old thread but people looking for this all time.