比如說我們要把picasaweb.google.com time.ac.cn *.google.com添加到客戶的受信任站點
藍色部分後面有www(time.ac.cn\www)的爲www.time.ac.cn 不加的話默認爲*
例:*.google.com
"紅色部分爲可修改的協議:
例如:"http","ftp"等其它名稱。
代碼如下:
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\com.cn"
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\time.ac.cn\www" /v http /t REG_DWORD /d 0x00000002 /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\google.com\picasaweb" /v http /t REG_DWORD /d 0x00000002 /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\google.com\" /v https /t REG_DWORD /d 0x00000002 /f
以上代碼保存爲*.bat文件。