mirror of
https://github.com/leitbogioro/Tools.git
synced 2024-11-15 13:44:50 +08:00
Update SetupComplete.bat
This commit is contained in:
parent
9755305969
commit
78d2b8d406
1 changed files with 1 additions and 0 deletions
|
@ -16,4 +16,5 @@ echo;%setmode%|find "on"&&goto:enable||goto:disable
|
||||||
wmic nicconfig where ipenabled=true call enablestatic(%staticip%),(%subnetmask%)
|
wmic nicconfig where ipenabled=true call enablestatic(%staticip%),(%subnetmask%)
|
||||||
wmic nicconfig where ipenabled=true call setgateways(%gateways%)
|
wmic nicconfig where ipenabled=true call setgateways(%gateways%)
|
||||||
wmic nicconfig where ipenabled=true call setdnsserversearchorder(%dnsserver1%,%dnsserver2%)
|
wmic nicconfig where ipenabled=true call setdnsserversearchorder(%dnsserver1%,%dnsserver2%)
|
||||||
|
del %0
|
||||||
:disable
|
:disable
|
||||||
|
|
Loading…
Reference in a new issue