Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to start with a command? #14

Open
KolyaKorruptis opened this issue Sep 27, 2016 · 2 comments
Open

How to start with a command? #14

KolyaKorruptis opened this issue Sep 27, 2016 · 2 comments

Comments

@KolyaKorruptis
Copy link

How can I start this with a command, eg from a batch file or a shortcut?

@nitricware
Copy link

I'm interested in that too. Does nodejs portable even support this?

@nul800sebastiaan
Copy link

nul800sebastiaan commented May 4, 2018

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants