NetSetMan Support
Search for already answered questions about NetSetMan (Pro) or ask new ones
You are not logged in.
- Topics: Active | Unanswered
Pages: 1
#1 2011-11-28 05:34
- Kvantum
- Member
- Registered: 2011-11-28
- Posts: 2
Script Parameters
Hello.
Really need this feature.
Something like
%1 - IP
%2 - mask
%3 - gateway
%4 - network
%5 - broadcast
.....
I have many networks installed and windows 7 always have trouble with default gateway.
Solution is do it manually.
Examle.
route DELETE 0.0.0.0
route DELETE 255.255.255.255
route ADD -p 0.0.0.0 MASK 0.0.0.0 192.168.100.125 METRIC 1
route ADD -p 192.168.100.125 MASK 255.255.255.255 192.168.100.124 METRIC 2
But i always switch between many networks and i want same script for all profiles.
Like this.
route DELETE 0.0.0.0
route DELETE 255.255.255.255
route ADD -p 0.0.0.0 MASK 0.0.0.0 %3 METRIC 1
route ADD -p %3 MASK 255.255.255.255 %1 METRIC 2
Can you do this?. I think it is not too much coding. But it much helps.
Offline
#2 2011-11-28 21:29
- NetSetMan Support
- Administrator
- Registered: 2005-08-06
- Posts: 1,878
Re: Script Parameters
To be honest I don't see the sense of having this possibility in NSM. If you're that much depending on a script-based you might want to use netsh anyways.
Offline
#3 2011-12-02 05:24
- Kvantum
- Member
- Registered: 2011-11-28
- Posts: 2
Re: Script Parameters
No i don't interested in script-based. I just want route permanent. But NetSetMan can't make it.
I forced to run NetSetMan after each restart.
Offline
Pages: 1