|
![]() |
Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming > Application Programming | |
Computer Name / IP Address alteration
|
||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) | ||||||||||||
|
Mobo Master
Join Date: Sep 2007
Location: Vista Shell, 0X800000FE
Posts: 218
Rep: 25
![]() Unique Rep: 22
Trader Rating: 1
|
I am a neophyte coder (I can do a hello world alert in C++ and know my way around batch files, so I know little)
How would I write a batch file / exe that would change the computer name/Ip address (instead of having to go through all this bullshens of opening all the configuration windows)? It does not need to be modular. I have 32 machines, and the way we image them does not alter the ip address or computer name, so either it has to be done manualy, or this way. 32 .bat's or .exe's that each change those two values to specific ones would be best. like... 101.exe changes computer name to Lair01 and IP to 192.168.0.101 102.exe changes computer name to Lair02 and IP to 192.168.0.102 ... 132.exe changes computer name to Lair32 and IP to 192.168.0.132 It should be simple enough, but I don't even know where to look for the commands.
__________________
If someone gives you help, remember to rep! ~Louisiana Drinking Overclocking Club!~
|
||||||||||||
|
|
|
|
|
#2 (permalink) | |||||||||
|
Fear the Wombat
![]() |
here is how you would change the IPs through a batch file
Quote:
i'm not sure about computer name though, i will look into it. this might be helpful http://www.techimo.com/forum/archive...p/t-33483.html
__________________
|
|||||||||
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|