searchdomains
This commit is contained in:
parent
240591fb08
commit
a1957f49f4
@ -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.
|
||||
|
||||
|
@ -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 #######
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user