How to access a file with a js console?

166 views Asked by At

I have downloaded the windows version of the js shell from here http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/. Now if i want to run a js script and for example the file is in the "F:\projects" directory,how can i run the file?I have read the doc but didn't really understand it.

1

There are 1 answers

0
Quentin On

From the documentation:

F:
cd projects
js the_file.js