c:
cd \
if exist ipconfig.txt del ipconfig.txt
ipconfig /all >ipconfig.txt
if exist ip.txt del ip.txt
find "IP Address" ipconfig.txt >ip.txt
for /f "skip=2 tokens=15" %%I in (ip.txt) do set mac=%%I
Got stuck here. The goal is to perform a jump when the IP is from 192.168.1.1 to 192.168.1.100, and another jump when it's from 192.168.1.101 to 192.168.1.238. This is for virtual disk IP shunting. The first 100 IPs connect to 192.168.1.239, and the 101st to 238th connect to 192.168.1.240. Anyone who is an expert can help...
cd \
if exist ipconfig.txt del ipconfig.txt
ipconfig /all >ipconfig.txt
if exist ip.txt del ip.txt
find "IP Address" ipconfig.txt >ip.txt
for /f "skip=2 tokens=15" %%I in (ip.txt) do set mac=%%I
Got stuck here. The goal is to perform a jump when the IP is from 192.168.1.1 to 192.168.1.100, and another jump when it's from 192.168.1.101 to 192.168.1.238. This is for virtual disk IP shunting. The first 100 IPs connect to 192.168.1.239, and the 101st to 238th connect to 192.168.1.240. Anyone who is an expert can help...
