w10install/scripts/modify-searchdomains.cmd

11 lines
245 B
Batchfile
Raw Normal View History

@echo off
echo ####### %0 #######
echo setting DNS search list (mydomains) ...
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" ^
/v SearchList /t REG_SZ /f /d "%mydomains%"
echo ####### %0 #######