How do I send a message from a batch file?

A. To send a message from a batch file, use the Net Send command, as follows.

net send <machine> "<message>"
Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish