FSO文本读写
来源:百度知道 编辑:UC知道 时间:2024/09/28 09:05:35
怎么样打开
在CMD命令行状态输入以下命令:
关闭命令:RegSvr32 /u C:\windows\SYSTEM32\scrrun.dll
打开命令:RegSvr32 C:\windows\SYSTEM32\scrrun.dll
在CMD命令行状态输入以下命令:
关闭命令:RegSvr32 /u C:\windows\SYSTEM32\scrrun.dll
打开命令:RegSvr32 C:\windows\SYSTEM32\scrrun.dll
可以这样写:
Dim mFile,mObjFSO,mFilePath
mFilePath = Server.MapPath("/test.txt")
Set mObjFSO = Server.CreateObject("Scripting.FileSystemObject")
Set mFile = nmm_objFso.OpenTextFile(nmm_strIpFilePath, 8, true)
mFile.WriteLine("this is a test")
nFile.Close
Set nFile = nothing
Set mObjFSO = nothing
建议重装iis得了,这个很难处理,即使处理了,还不一定能最终解决问题
另外,看看你的是什么系统