回答編集履歴
2
例示ドメインをexample\.jpへ修正
answer
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
```BAT
|
2
|
-
rem reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\
|
2
|
+
rem reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\example.jp"
|
3
|
-
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\
|
3
|
+
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\example.jp\www" /v "*" /t REG_DWORD /d "00000002"
|
4
|
-
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\
|
4
|
+
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\example.jp\www1" /v "*" /t REG_DWORD /d "00000002"
|
5
|
-
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\
|
5
|
+
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\example.jp\www2" /v "*" /t REG_DWORD /d "00000002"
|
6
6
|
```
|
7
7
|
|
8
|
-
この1行目が不要です。明示的に```...\Domains\
|
8
|
+
この1行目が不要です。明示的に```...\Domains\example.jp```を作成しなくても2行目の```...\Domains\example.jp\www```の名前```"*"```を作成するときに自動で作成してくれます。
|
9
9
|
この時(自動で作成されるとき)、名前= "(既定)", 種類="REG_SZ", 値="(値の設定なし)"で作成されます。
|
1
誤記修正
answer
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
```BAT
|
2
|
-
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\hoge.jp"
|
2
|
+
rem reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\hoge.jp"
|
3
3
|
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\hoge.jp\www" /v "*" /t REG_DWORD /d "00000002"
|
4
4
|
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\hoge.jp\www1" /v "*" /t REG_DWORD /d "00000002"
|
5
5
|
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\hoge.jp\www2" /v "*" /t REG_DWORD /d "00000002"
|