searchdomains

This commit is contained in:
Michael H.G. Schmidt 2022-12-29 21:28:59 +01:00
parent 240591fb08
commit a1957f49f4
2 changed files with 4 additions and 4 deletions

View File

@ -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.

View File

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