hello, I'm trying to use this batch file to automatically place a primary dns address within the Internet Protocol (TCP/IP) Properties window. this batch file works on most pc's but doesn't work on all of them. everyone here is using windows xp pro sp2. any suggestions?
REM - This prompts the user as to whether to switch the desktop to JFKD81
set /p userin=Do you want to switch to the LSF 9.1 environment? y/n :
IF not %userin% == y goto else
netsh interface ip set dns "Local Area Connection" static 192.168.1.29
@echo OB Software 9.1 ENVIRONMENT