An app to find local computer name

Aiger

n00b
Joined
Oct 25, 2004
Messages
1
I'm trying to find a small windows application that will find the local machine's network name and either copy it to the clipboard or put it into a text file. I've found thousands that will do something similar for IPs but none for computer name. Does anyone know where I could find one?
 
c:\>echo %COMPUTERNAME% > name.txt

More than one way to skin a cat :) ... a lot of this information is available as environment variables that can either be access programatically, or at a command prompt. Type "set" at the command prompt to see them all, and echo %variablename% to see an individual environment variable.
 
Back
Top