Server-side scripts with ASP

Giganews Newsgroups
Subject: Server-side scripts with ASP
Posted by:  Bill Sneddon (bsnedd…
Date: Wed, 03 Sep 2003

Sorry if this is an easy question.

Does Javascript work "out of the box with IIS" as an
Active server page?  ie. does it have the ability to open files

I tried this command and it does not seem to work.

var fileSys;
var txtFile;
fileSys = new ActiveXObject("Scripting.FileSystemObject");
txtFile = fileSys.OpenTextFile("./junk.txt",1,false);

I can't find examples on the web.  What would I search for to find out
about objects the Scripting.FileSystemObject?

I work at a large company with a corperate IT group.
I need to write some server side scripts.  The servers they
have are Windows 2000 with IIS installed.  If additional
software needs to be installed I will be forced to use VBscript.