macro or .bat file to retrieve computer name?

  • Thread starter Thread starter p4038n
  • Start date Start date
P

p4038n

Is there a macro in WORD or a .bat file that can be run to
get the computer i.d.? Rather than having users right
click on My Computer, Properties, Network id tab, full
computer name?

Thank you!
 
from command prompt or batch file type

echo %computername%

Daniel.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top