2019-08-16

2020-11-25  本文已影响0人  coiisy

Xp装机系统执行
,,,
Set OpReg=CreateObject("Wscript.Shell")

'应用
OpReg.RegWrite "HKEY_CLASSES_ROOT\Directory\Shell\进入Dos窗口\command","cmd.exe /k cd ""%1"""
OpReg.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoRecentDocsHistory",1,"REG_DWORD"
OpReg.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Personal","D:\My Documents\Documents","REG_SZ"
OpReg.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Favorites","D:\My Documents\Favorites","REG_SZ"
OpReg.RegWrite "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ProgramFilesDir","D:\Program Files","REG_SZ"
OpReg.RegWrite "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\CommonFilesDir","D:\Program Files\Common Files","REG_SZ"
OpReg.RegWrite "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters\EnablePrefetcher",2,"REG_DWORD"
OpReg.RegWrite "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters\EnableSuperfetch",2,"REG_DWORD"

'游戏

Set OpReg=nothing

,,,

上一篇 下一篇

猜你喜欢

热点阅读