[H2] Reg_Locate() 注册表定位

许多实用脚本和封装函数, 可以让您编写脚本更加便捷高效

Moderators: arcticir, tmplinshi

arcticir
Posts: 639
Joined: 17 Nov 2013, 11:32

[H2] Reg_Locate() 注册表定位

01 Mar 2016, 05:45

Code: Select all

Reg_Locate("HKEY_CURRENT_USER\Software\Microsoft\Windows",1)

Code: Select all

Reg_Locate(s,r:=""){
	if r
	ProcessClose("regedit.exe")
	RegWrite("REG_SZ","HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit","LastKey",s)
	Run regedit.exe -m
}

Return to “脚本函数”

Who is online

Users browsing this forum: No registered users and 30 guests