I have the following code
<BODY>
The path of the virtual directory is <% Response.Write Server.MapPath("VD_Path\SQL") %>
<%
set oFso=Server.CreateObject("Scripting.FileSystemObject")
For Each oFile In oFso.GetFolder(Server.MapPath("VD_PATH\SQL")).Files
Response.write(oFile.DateCreated)
next
%>
</BODY>
VD_PATH is a virtual directory to another server shared drive. The first part comes back with the correct path to the server but the 2nd part (Get folder) comes back with path not found.
Any ideas?
<BODY>
The path of the virtual directory is <% Response.Write Server.MapPath("VD_Path\SQL") %>
<%
set oFso=Server.CreateObject("Scripting.FileSystemObject")
For Each oFile In oFso.GetFolder(Server.MapPath("VD_PATH\SQL")).Files
Response.write(oFile.DateCreated)
next
%>
</BODY>
VD_PATH is a virtual directory to another server shared drive. The first part comes back with the correct path to the server but the 2nd part (Get folder) comes back with path not found.
Any ideas?