Good day,
I need to be able to get the machine name from a command line. I found a post from the NT forum. It recomended ipconfig. However it does not give me the machine name as it is shown when I get the prop's of my computer from desktop.
Output of IP config (numbers changed)
C:\>ipconfig
Windows 2000 IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : mycompany.com
IP Address. . . . . . . . . . . . : 111.11.111.111
Subnet Mask . . . . . . . . . . . : 111.111.111.1
Default Gateway . . . . . . . . . : 111.11.111.1
Value when I RC on my computer
Full Computer Name: my_name.mycompany.com
How can I capture my_name.mycompany.com
Thanks,
Shane
I need to be able to get the machine name from a command line. I found a post from the NT forum. It recomended ipconfig. However it does not give me the machine name as it is shown when I get the prop's of my computer from desktop.
Output of IP config (numbers changed)
C:\>ipconfig
Windows 2000 IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : mycompany.com
IP Address. . . . . . . . . . . . : 111.11.111.111
Subnet Mask . . . . . . . . . . . : 111.111.111.1
Default Gateway . . . . . . . . . : 111.11.111.1
Value when I RC on my computer
Full Computer Name: my_name.mycompany.com
How can I capture my_name.mycompany.com
Thanks,
Shane