Page 1 of 1

Batch File Determine Computer Name

Posted: 06 Feb 2010 02:01
by bre
Hi,
I'm attempting to write an install file, and i need to determine a computer name, all workstations are running XP.

is there anyway to do this? thanks.

Re: Batch File Determine Computer Name

Posted: 06 Feb 2010 02:12
by DosItHelp
Try
echo %COMPUTERNAME%

Re: Batch File Determine Computer Name

Posted: 06 Feb 2010 02:13
by bre
Great Thankyou