"rockocubs" <rp*****@nospam.indy.rr.com> writes:
(please remember to include *some* context for your posting)
I dont plan on having the browser open and doing this in an html page, i
guess i was assuming you could run javascript by itself like vbscript
You can. On Windows-boxes, you can use any language supported by the
Windows Scripting Host. E.g., make a file called "test.js" containing:
alert("this works!");
and run it with "wscript test.js".
However, Javascript itself has no method of working with files, or any
other I/O for that matter. All of that is provided by the environment
the script is run in. The environment in browsers is the one assumed
by people in this group unless something else is stated.
If you run your scripts using "wscript", you should consult the
documentation for the Windows Scripting Host to find out what features
are available.
/L
--
Lasse Reichstein Nielsen -
lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'