[nodejs] How to run nodeJS

2012-11-26 Thread Đức Diện Đỗ
Hi all. common when running node I have to type the command command: "node hello.js".Is there a way to be able to run node without having to do so. Thanks. sorry for my english not good -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Po

Re: [nodejs] How to run nodeJS

2012-11-26 Thread Ben Noordhuis
On Mon, Nov 26, 2012 at 3:32 PM, Đức Diện Đỗ wrote: > Hi all. > common when running node I have to type the command command: "node > hello.js".Is there a way to be able to run node without having to do so. Yes. Read up on UNIX shebangs. Only works in UNIX-y environments, of course. -- Job Boa

Re: [nodejs] How to run nodeJS

2012-11-26 Thread Angel Java Lopez
You can change the "default associated program" in Windows, too. http://kb.iu.edu/data/adhc.html If you want all files of that type to open in the same software program, leave the box checked for*Use this app for all .ext files*, where *.ext* denotes the extension of the file you chose. Otherwise