promt.js over command line
SWSGKloss

Hello again! ;-)

 

Finishing my current project last step is opening the server connection over the command line.

Could you tell me which parameters must be set to open a server propperly?

 

For example: normal way: right click in folder -> open promt.js here -> server 2345

New way: *.bat in Autostart with a command like: "C:\Program Files (x86)\promt.js -C:\Memory\ -server 2345"?

 

wourld be very helpful :-)

1 Comment
Gio

Hi

I don't think there are any command line parameters like that for promptjs, however if you wanted you could change the source script of promptjs to make it run a specific command when it opens.

However, depending on what you are trying to achieve, there may be better ways... prompt.js is great for starting a server quickly, but if you need a more permanent server maybe you could just enable IIS and put all your files in the IIS folder.

 

Post a reply
Add Attachment
Submit Reply
Login to Reply