net send to few computers - URGENT

  • Thread starter Thread starter Dave
  • Start date Start date
D

Dave

i don't think that is an option, but a simple batch file with 3 lines and
one substitution should do it and maybe save you typing the the process.
 
Dave said:
i don't think that is an option, but a simple batch file with 3 lines and
one substitution should do it and maybe save you typing the the process.


Dave's right but it is so simple you can even do it in one
line -- or one line and a text file of the computer names if
the list is long - so it can be easily typed at the command line
OR put in a batch file.

for %a in (comp1 comp2 comp3) do net send %a "Tell them something"

for /f %a in (compfile.txt) do net send %a "Tell them something"

Put the list of computers in 'compfile.txt' -- one per line.

Note: If you do put it in a file, you must double the % signs on the
variable names, i.e., %%a
 
hi,
There is an option to use the net send command for sending a message for FEW
COMPUTERS at the same command. (I do NOT need to send the message to all the
domain, but for just 3 pc in the domain.
Can I do it ???

thanks.
 
"Lanwench [MVP - Exchange]"
Paul Landregan wrote:


Very nice - added to my Favorites! Thanks for the link.

Glad i could offer assistance. You guys help me out in the past.
 
Thanks, All of you for the GREAT tanswer and tips !!!


Paul Landregan said:
"Lanwench [MVP - Exchange]"
Paul Landregan wrote:


Very nice - added to my Favorites! Thanks for the link.

Glad i could offer assistance. You guys help me out in the past.
 
Back
Top