Hi,
I want to change the hostname with command line, but I don't know how. I can change IP Address, MASK, MAC Address and GATWAY (I do it with netsh) but I no idea how to change the hostname.
If You can do it, pleas help me.
Hi,
I want to change the hostname with command line, but I don't know how. I can change IP Address, MASK, MAC Address and GATWAY (I do it with netsh) but I no idea how to change the hostname.
If You can do it, pleas help me.
"Work should be challenging and the challenge should be fun. Great just isn't good enough!"
I'm guessing you mean computer name:
Right-click on My Computer and select properties. Go to the Computer Name tab, then the Change... button.
CodeCall Blog | CodeCall Wiki | Shareware
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog
Verry funny ;P
I mean, how to change the host name (yes - computer name) with command line because I want to do it in java but first I have to know how do it with command line in windows xp.
"Work should be challenging and the challenge should be fun. Great just isn't good enough!"
you can change your hostname in editing text.
Open Folder C:\WINDOWS\system32\drivers\etc and open "hosts" in notepad
and put your ip and desire hostname
[ip] [desire hostname]
example:
38.25.63.10 x.acme.com
you must check your ip in whatismyip.com What Is My IP Address? - IP Address Lookup, Internet Speed Test, IP Info, plus more[/url]
i tested it in Windows XP and Vista Home Basic(run as administrator for vista)
so for the wrong english because im from Philippines im 14 year old i dont know english short
and i have no idea in changing host name in command line
I'm sure if you look somewhere, you'll find you can change it through the registry.
Then, find out how to change the registry in programming.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks
Algorithms and Data Structures
Java tutorials
Algorithms Forum