Guys,
I am just starting to try to use the FileSystem Object and I just wrote a simple program but I get the following error:
Microsoft VBScript runtime error '800a01b6'
Object doesn't support this property or method
/test1.asp, line 8
The code is as follows(line numbers in red):
1 <HTML>
2 <HEAD>
3 <TITLE> File Object Test </TITLE>
4 </HEAD>
5 <BODY>
6 <%
7 dim fso
8 fso = CreateObject("Scripting.FileSystemObject"
9 fso.Deletefile("C:\Inetpub\10 set fso = nothing
11 Response.write "File Deleted!!"
12 %>
13 </BODY>
14 </HTML>
can anybody help?? Mise Le Meas,
Mighty
I am just starting to try to use the FileSystem Object and I just wrote a simple program but I get the following error:
Microsoft VBScript runtime error '800a01b6'
Object doesn't support this property or method
/test1.asp, line 8
The code is as follows(line numbers in red):
1 <HTML>
2 <HEAD>
3 <TITLE> File Object Test </TITLE>
4 </HEAD>
5 <BODY>
6 <%
7 dim fso
8 fso = CreateObject("Scripting.FileSystemObject"
9 fso.Deletefile("C:\Inetpub\10 set fso = nothing
11 Response.write "File Deleted!!"
12 %>
13 </BODY>
14 </HTML>
can anybody help?? Mise Le Meas,
Mighty