How to use the Windows Script Host to read, write, and delete registry keys

How to use the Windows Script Host to read, write, and delete registry keys

瀏覽:574
日期:2026-04-22
WSHShell = CreateObject("WScript.Shell") *!* Create Registry Keys WSHShell.Popup( "Create key HKCU\MyRegKey with value 'Top level key'") WSHShell.RegWrite( "HKCU\MyRegKey\", "Top level key") WSHShell.Popup( "Create key HKCU\MyRegKey\En...看更多