Page 1 of 1

This is really stupid but

Posted: 07 Dec 2022 21:08
by back_slash
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

Re: This is really stupid but

Posted: 11 Dec 2022 06:22
by penpen
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