I am trying to use an ASP page to read a physical directory on my PC. I am the Admin on a Windows XP Home with default security setting. My code is
<%
' Get a handle on our PHYSICAL folder
Dim fs,folder,strPath
strPath="c:\pict"
Set fs = Server.CreateObject("Scripting.FileSystemObject")
Set folder = fs.GetFolder(strPath)
%>
I get the following error:
Microsoft VBScript runtime error '800a004c'
Path not found
The path does exist and has files in it. What am I missing? Thanks.
<%
' Get a handle on our PHYSICAL folder
Dim fs,folder,strPath
strPath="c:\pict"
Set fs = Server.CreateObject("Scripting.FileSystemObject")
Set folder = fs.GetFolder(strPath)
%>
I get the following error:
Microsoft VBScript runtime error '800a004c'
Path not found
The path does exist and has files in it. What am I missing? Thanks.