ASP能读写注册表

一个例子:
<%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
%>
<form action="zcb.asp" method=post>
注册表键值<input type=text name=zcbpath id=zcbpath>
<input type=submit>
</form>

不会编程还当啥黑客,那些C,DELPHL、perl、C++也许要求基础理论,HTML这种标记语言和脚本的ASP你不妨试试,也许我说话有点刻薄,要是真整死也不会!!
你一定从小缺爱,IQ缺钙,拿着BOOK谈恋爱,和谁聊天都不在。 
原文地址:https://www.cnblogs.com/QDuck/p/191392.html