Hi, Do you guys know of any command that I can run on windows based machines on command line that would give me the computer name of that machine? I know the other way is to right click on My Computer and ..... and also many others, but is there any command line command that would give me the desired output? Saad.
Saad Ahmed wrote:>Hi, >Do you guys know of any command that I can run on windows based machines on command line that would give me the computer name of that machine? >I know the other way is to right click on My Computer and ..... and also many others, but is there any command line command that would give me the desired output? >Saad. > >If you type "echo %computername% " from a DOS box, in win2k and later, you'll get the computer name. I'm not sure if it works, or something similar, in earlier versions of windows. -- Steven Kurylo
ipconfig /all "Saad Ahmed" <saad@mantatest.com> schrieb im Newsbeitrag news:01b601c411d8$9c28e370$5c16a8c0@saad... Hi, Do you guys know of any command that I can run on windows based machines on command line that would give me the computer name of that machine? I know the other way is to right click on My Computer and ..... and also many others, but is there any command line command that would give me the desired output? Saad. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Set computername -----Original Message----- From: samba-bounces+teleiott=tke-companies.com@lists.samba.org [mailto:samba-bounces+teleiott=tke-companies.com@lists.samba.org] On Behalf Of Saad Ahmed Sent: Wednesday, March 24, 2004 1:46 PM To: samba@lists.samba.org Subject: [Samba] Windows Based Machines' Names Hi, Do you guys know of any command that I can run on windows based machines on command line that would give me the computer name of that machine? I know the other way is to right click on My Computer and ..... and also many others, but is there any command line command that would give me the desired output? Saad. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
"Saad Ahmed" <saad@mantatest.com> wrote in news:1Dmy9-2QH-39@gated- at.bofh.it:> Hi, > Do you guys know of any command that I can run on windows based >machines on command line that would give me the computer name of thatmachine? hostname Works on WinNT and Win2000 Does not work on Win95 -- Rolf