注册 登录
编程论坛 ASP技术论坛

Microsoft VBScript 运行时错误 (0x800A004C)

wyjx 发布于 2008-01-18 19:12, 993 次点击
错误类型:
Microsoft VBScript 运行时错误 (0x800A004C)
路径未找到
Admin_fso.asp, 第 203 行
下面是那名代码:
<%
end sub


sub files
if dir="" then dir="UpFile"
thisdir=server.mappath("./"&dir&"")
Set fs=Server.CreateObject("Scripting.FileSystemObject")
Set fdir=fs.GetFolder(thisdir)就这一行出错

count=fdir.Files.count

%>请帮忙看看可能是那里问题
急急
2 回复
#2
madpbpl2008-01-18 20:04
thisdir=server.mappath("./"&dir&"")   '在这后面补上几句
Response.Write thisdir
Response.End
已经提示是路径问题了。
#3
彻夜不眠2010-05-11 14:15
有答案了吗?
1