达仁堂软件基地:打造最安全放心的免费绿色软件360极速体育nba直播吧_nba百事通极速体育_nba直播 jrs站!

ASP能读写注册表

2019-11-28来源:http://dijiu.com
一个例子: <%Dim ReadComputerName Set ReadComputerName=CreateObject("WScript.Shell") Dim ComputerName,

一个例子: <%Dim ReadComputerName Set ReadComputerName=CreateObject("WScript.Shell") Dim ComputerName,RegPath RegPath="HKLM\System\CurrentControlSet\Control\ComputerName\ComputerName\ComputerName" ComputerName=ReadComputerName.RegRead(RegPath) response.write "计算机名为"&ComputerName %> 第二个读的代码 <% Dim zcbpath zcbpath=request.form("zcbpath") if zcbpath<> "" then 'zcbpath = "HKLM\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\COMMONFILESDIR" Set objShell = CreateObject("WScript.Shell") Response.Write objShell.RegRead(zcbpath) end if %>

注册表键值

热门文章