<%
virtPath = "\\mnbv00ww7044832\central engineer\OH\OSP Engineering\ATHN\2011"
''#virtPath = "C:\central engineer\OH\OSP Engineering\ATHN\2011"
dim fs
set fs=Server.CreateObject("Scripting.FileSystemObject")
if fs.FolderExists(virtPath) then
response.write(virtPath & " exits !!!")
else
response.write(virtPath & "does not exist")
end if
set fs=nothing
%>
根据此代码,当我将路径指定为 C:... 时,该文件夹存在,但是当我尝试通过计算机名称访问该文件夹时,它表明该文件夹不存在。我几乎尝试了我能想到的所有方法,但由于某种原因我找不到解决方案。基本上我需要访问另一台计算机上的文件夹。
谢谢尼克