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