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 #######