Page 1 of 1

Route delete ip

Posted: 08 Nov 2010 07:19
by karzer
I want to delete with the route delete ip of many
How can we ?

10.0.1.13 255.255.255.255 10.100.100.1
10.0.1.12 255.255.255.255 10.100.100.1
10.0.1.11 255.255.255.255 10.100.100.1
10.0.1.10 255.255.255.255 10.100.100.1

route delete 10.0.1.13 This ok
route delete 10.0.1.* How can we

I'm sorry for my English
Thank You

Re: Route delete ip

Posted: 08 Nov 2010 19:21
by amel27

Code: Select all

for /l %%i in (10,1,13) do echo route delete 10.0.1.%%i

Re: Route delete ip

Posted: 09 Nov 2010 02:05
by karzer
I want to delete the lines from 1 to 255

10.0.1.1
10.0.1.14
10.0.1.255

Re: Route delete ip

Posted: 09 Nov 2010 02:14
by karzer
Thanks

Code: Select all

FOR /L %%G IN (1,1,255) DO route delete 10.0.1.%%G