[Samba] Re: Windows Based Machines' Names

Mark gmane at tippingmar.com
Wed Mar 24 23:53:35 GMT 2004

"Steven Kurylo" <skurylo at cleartech.ca> wrote in message
news:4061E8FF.7010205 at cleartech.ca...

> 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.

At a DOS prompt type the command "set" and you will get a list of all the
environment variables. "computername" is one of them, as Steven says.

More information about the samba mailing list