This is really stupid but

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
back_slash
Posts: 19
Joined: 20 Aug 2021 08:07

This is really stupid but

#1 Post by back_slash » 07 Dec 2022 21:08

Is it possible to send a notification to a totally different computer in some way with batch?
This is probably seeming pretty ridiculous but just like some way to detect that something triggered in the batch file on the other computer

penpen
Expert
Posts: 1991
Joined: 23 Jun 2013 06:15
Location: Germany

Re: This is really stupid but

#2 Post by penpen » 11 Dec 2022 06:22

In case your computer runs on the "pro", "enterprise" or "educational" version of windows 10 (probably the same under Windows 11), then you may use "msg" or "net send ..." commands to send messages to computers in your local network:

Code: Select all

msg /SERVER:DestinationPC * /TIME:60 "Sample message to pc 'DestinationPC'; confirm receipt available for 60 seconds."
net send <ip of destinationPC> "Sample message."
penpen

Post Reply