$shell = new COM("WScript.Shell") or die("This thing requires Windows Scripting Host"); $registry_proxystring = $shell->RegRead ("HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\ProxyServer");
同樣可以用RegWrite方法寫入
如果有問題,請參考相關(guān)資源: http://support.microsoft.com/default.aspx?scid=kb;en-us;Q221081 (出處:Viphot)
|