File handling in ASP with Java as script language
Below are several lines of code extracted from examples found in the web site "w3Schools.com". All are VB script based. I am using Java script. (I note that "Response.Write" appears with a "W", not "w" as needed for JS. I presume that this is VB specific.)
Are there anologous function names in JS language that work in server side CLASSIC ASP? I do not have ASP.NET capability.
Set FS = Server.CreateObject("Scripting.FileSystemObject")
Set RS = FS.OpenTextFile(Server.MapPath("Assets") + "\TextFile.txt",1)
If (fs.FileExists("c:\winnt\cursors\3dgarro.cur"))=true Then