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
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
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