Microsoft VBScript 运行时错误 (0x800A0046)没有权限
<%dimfso,a,aa,sSetfso=server.CreateObject("Scripting.FileSystemObject")seta=fso.creat...
<%
dim fso,a,aa,s
Set fso =server.CreateObject("Scripting.FileSystemObject")
set a=fso.createTextFile("D:\网站建设\静静\016\22.txt")
set aa=fso.openTextFile("D:\网站建设\静静\016\22.txt")
a.writeline("this is a test page")
a.writeline("welcome to the second row")
a.writeline("welcome to the third row")
a.writeline("welcome to the forth row")
a.writeline("welcome to the fifth row")
for i=1 to 3
f=aa.readline
next
Set fso1 =server.CreateObject("Scripting.FileSystemObject")
set b=fso1.createTextFile("D:\网站建设\静静\016\00.txt")
set bb=fso1.openTextFile("D:\网站建设\静静\016\00.txt",8)
bb.writeline(f)
%>
a,aa,b,bb的读写权限是怎么样的? 展开
dim fso,a,aa,s
Set fso =server.CreateObject("Scripting.FileSystemObject")
set a=fso.createTextFile("D:\网站建设\静静\016\22.txt")
set aa=fso.openTextFile("D:\网站建设\静静\016\22.txt")
a.writeline("this is a test page")
a.writeline("welcome to the second row")
a.writeline("welcome to the third row")
a.writeline("welcome to the forth row")
a.writeline("welcome to the fifth row")
for i=1 to 3
f=aa.readline
next
Set fso1 =server.CreateObject("Scripting.FileSystemObject")
set b=fso1.createTextFile("D:\网站建设\静静\016\00.txt")
set bb=fso1.openTextFile("D:\网站建设\静静\016\00.txt",8)
bb.writeline(f)
%>
a,aa,b,bb的读写权限是怎么样的? 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询