Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Batch File

Status
Not open for further replies.

ashishsmith

Programmer
Jun 23, 2004
46
US
How to store a hostname or computername into a variable and want to use that name to net send a message in a batch file.

Any Help with this?

Ashish Smith
 
Well never mind i figured it out myself.

It was simple just use %computername%, thats it..

Ashish Smith
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top