本文章来告诉你在vps中如何来绑定一个ip地址以及mac地址哦,有需要的朋友可以参考一下本文章的操作教程,
find"PhysicalAddress"D:pichuliipconfig.txt>D:pichuliphyaddr.txt
find"IPAddress"D:pichuliipconfig.txt>D:pichuliip.txt
::::从(D:pichuliphyaddr.txt)文件中取得物理地址字符串,并赋给变量"MacAddress"
for/f"skip=2tokens=15"%%Iin(%scfile2%)dosetIPAddress=%%I
ifexistD:pichuliip2.txtdelD:pichuliGetIp.txt
C:DocumentsandSettingsAdministrator「开始」菜单程序启动ip_mac.cmdecho