nodejs-portable
nodejs-portable copied to clipboard
How to start with a command?
How can I start this with a command, eg from a batch file or a shortcut?
I'm interested in that too. Does nodejs portable even support this?
In App\Server.cmd
I made some adjustments to help myself out. I wanted to be able to pass in a path in which to start NodeJsPortable so right before cmd /k
I added:
set gotopath=%1
CD %gotopath%
The %1
here means the first argument after NodeJsPortable.exe
, for example: NodeJsPortable.exe D:\dev\project\src
will start the app and then move to the D:\dev\project\src
directory.
Hope this helps!