From a1957f49f49b66c709deec02381e8c1d001b7049 Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Thu, 29 Dec 2022 21:28:59 +0100 Subject: [PATCH] searchdomains --- scripts/autoconfig-all.cmd | 4 ++-- scripts/modify-searchdomains.cmd | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/autoconfig-all.cmd b/scripts/autoconfig-all.cmd index e5ceb1a..1102fc9 100644 --- a/scripts/autoconfig-all.cmd +++ b/scripts/autoconfig-all.cmd @@ -43,7 +43,7 @@ echo ++++++++++++++++++ echo. rem COMPANY settings ... -set mydomain= +set searchdomains= if NOT EXIST %COMPANY_SETTINGS% ( echo INFO: COMPANY %COMPANY_SETTINGS% NOT FOUND ) else ( @@ -52,7 +52,7 @@ if NOT EXIST %COMPANY_SETTINGS% ( ) echo ++++++++++++++++++ -echo mydomain=%mydomain% +echo searchdomains=%searchdomains% echo ++++++++++++++++++ echo. diff --git a/scripts/modify-searchdomains.cmd b/scripts/modify-searchdomains.cmd index d701433..5e0ea93 100644 --- a/scripts/modify-searchdomains.cmd +++ b/scripts/modify-searchdomains.cmd @@ -2,9 +2,9 @@ echo ####### %0 ####### -echo setting DNS search list (mydomains) ... +echo setting DNS search list (searchdomains) ... reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" ^ - /v SearchList /t REG_SZ /f /d "%mydomains%" + /v SearchList /t REG_SZ /f /d "%searchdomains%" echo ####### %0 #######