Routing .bat specific routing for Win

@echo off

route delete 10.17.104.0 mask 255.255.255.0
route delete 10.17.105.0 mask 255.255.255.0

route print

echo „=========================================“
echo „= Delete route successfully! =“
echo „=========================================“

@echo off

route -p add 10.17.104.0 mask 255.255.255.0 192.168.77.1
route -p add 10.17.105.0 mask 255.255.255.0 192.168.77.1

route print

echo „======================================“
echo „= Add route to successfully! =“
echo „======================================“

@echo off
pause
exit

Jan D.
Jan D.

"The only real security that a man will have in this world is a reserve of knowledge, experience, and ability."

Articles: 677