Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

call notify balloon message in windows 7 from cmd?

I need to create a notification balloon message in Windows 7 from the Command prompt with custom text. I have searched Google and found shell32.

like image 557
jozi Avatar asked Jun 12 '11 03:06

jozi


2 Answers

Notifu is a free open source Windows program that makes balloons appear in the systray with custom text you specify. You can run it from the command-line, so it's easy to include it in a scheduled task or batch file.

http://www.paralint.com/projects/notifu/download.html#Download

like image 120
Al S. Avatar answered Sep 28 '22 01:09

Al S.


You may use NirCmd by Nir Sofer like this:

NirCmd.exe trayballoon [Title] [Balloon Text] [Icon File] [Timeout] 

This does not seem to work for Windows 10. There you may use Toast.exe, which writes to the message area instead.

Toast.exe  -t "Title text" -m "Message"  -p NotificationImage.png

You have to turn on notifications for Toast.exe in the Windows 10 settings dialog under Settings > Notifications & Actions

like image 41
Thomas H. Schmidt Avatar answered Sep 28 '22 02:09

Thomas H. Schmidt