| I’m participating in Cikipedia’s Healthy Getaway Weekend giveaway! My weekly exercise routine is to go walking around the markets carrying increasingly heavy bags loaded with produce. It's healthy because it's mostly veggies and lean meats. |
| |
| Here's a quick and dirty way to send a message to a batch of computers on your network using Windows XP's Net Send . (Note: Net Send may be disabled on your network due to abuse. Do not simply spam messages to every single computer on your network, or you will get in trouble!)
First, create the list of computer names (one name to a line) and save it to a text file. I called mine "RESTART.TXT" because I want to message computers that need user action to restart them and comply with security patches.
Next, open a Command Prompt in Windows XP and navigate to the folder where you've saved the text file.
Type this command:
for /f %i in (RESTART.TXT) do net send %i "message"
Hit enter. The computer will parse the file, find a computer name, and pass that computer name to the Net Send command.
Done!
Reference: http://stackoverflow.com/questions/206114/dos-batch-files-how-to-read-a-file
|
| |