Batch File Determine Computer Name

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
bre
Posts: 3
Joined: 05 Feb 2010 04:25

Batch File Determine Computer Name

#1 Post by bre » 06 Feb 2010 02:01

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.

DosItHelp
Expert
Posts: 239
Joined: 18 Feb 2006 19:54

Re: Batch File Determine Computer Name

#2 Post by DosItHelp » 06 Feb 2010 02:12

Try
echo %COMPUTERNAME%

bre
Posts: 3
Joined: 05 Feb 2010 04:25

Re: Batch File Determine Computer Name

#3 Post by bre » 06 Feb 2010 02:13

Great Thankyou

Post Reply