Thanks a lot. Just what I needed.
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
!mac:~0,-1!
set /?
Originally posted by 5639863 at 2007-6-18 11:29 AM:
Well, it's really powerful, but now I find that most of these tools can not modify connections like Local Area Connection 2 or Local Area Connection 3! But this tool has greatly facilitated network administrators
......
for /f "tokens=1 delims=" %%s in ('ipconfig /all^|find /i "Ethernet adapter"') do (set ss_=%%s)
set ss_=%ss_:~17,-2%
netsh interface IP Set Address "%ss_%" Static %2 %zwym_% %workgate_% 1 >nul
......