![]() |
![]() |
![]() |
![]() |
![]() |
||||||||||
|
||||||||||||||
![]() |
#11
|
|||
|
|||
![]() Yeah you are right. But when I manually add 10.0.83.65 with Automatic metric and 10.0.83.66 with Metric 50 then everything works fine. No error at all. But when I repeat the same thing through batch file then error occurs. The question is why?
If I can manually assign 10.0.83.65 with Automatic metric and 10.0.83.66 with Metric 50 then it must be done through batch file. There must be a way to do the same thing through batch file. Anyways. I have assigned 10.0.83.65 with Metric 1 and 10.0.83.66 with Metric 50 via batch file and everything works fine; as you said. Thanks. Last edited by aladdin : 02-22-2012 at 03:01 AM. |
#12
|
|||
|
|||
![]() You must set 'gwmetric=automatic' if you want to use an automatic metric on your gateway. Like I said before, leaving gwmetric empty is only applicable if you set 'gateway=none'.
__________________
Real programmers don't comment their code. If it was hard to write, it should be hard to read. |
#13
|
|||
|
|||
![]() Thanks a lot for helping me. Now everything is clear regarding netsh command line.
|