<%@ LANGUAGE="VBSCRIPT" %>
<%Dim fso, MyFile
Set fso = CreateObject("Scripting.FileSystemObject"
Set MyFile = fso.CreateTextFile("\\gfavaro-nt\temp1\testfile.txt", True)
MyFile.WriteLine("This is a test."
MyFile.Close
%>
running this script an error accured with the following message:
Microsoft VBScript runtime error '800a0046'
Permission denied
/SelfScan/sswreport/a.asp, line 4
can I create a file using a relative path like \\gfavaro-nt???
<%Dim fso, MyFile
Set fso = CreateObject("Scripting.FileSystemObject"
Set MyFile = fso.CreateTextFile("\\gfavaro-nt\temp1\testfile.txt", True)
MyFile.WriteLine("This is a test."
MyFile.Close
%>
running this script an error accured with the following message:
Microsoft VBScript runtime error '800a0046'
Permission denied
/SelfScan/sswreport/a.asp, line 4
can I create a file using a relative path like \\gfavaro-nt???