HEELPBOOK - How can I open a message box in a Windows batch file? ######################## ######### SCENARIO My question is: how can I make a batch file open a popup screen? ######### METHOD 1 Something like the following saved in MessageBox.vbs (from simple .txt to .vbs): Set objArgs = WScript.Arguments messageText = objArgs(0) MsgBox messageText Which you would call like: cscript MessageBox.vbs "This will be shown in a popup." ######### METHOD 2 This way your batch file will create a VBS script and show a popup. After it runs, the batch file will delete that intermediate file. The advantage of using MSGBOX is that it is really customazable (change the title, the icon etc). echo MSGBOX "YOUR MESSAGE" > %temp%\TEMPmessage.vbs call %temp%\TEMPmessage.vbs del %temp%\TEMPmessage.vbs /f /q ############ ARTICLE INFO ############# Article Month: October Article Date: 19/10/2012 Permalink: http://heelpbook.altervista.org/2012/how-can-i-open-a-message-box-in-a-windows-batch-file/ Source: http://stackoverflow.com/questions/774175/how-can-i-open-a-message-box-in-a-windows-batch-file Language: English View more articles on: http://www.heelpbook.net/ Follow us on Facebook: http://it-it.facebook.com/pages/HeelpBook/100790870008832 Follow us on Twitter: https://twitter.com/#!/HeelpBook Follow us on RSS Feed: http://feeds.feedburner.com/Heelpbook Follow us on Delicious: http://delicious.com/heelpbook Linkedin: http://it.linkedin.com/pub/stefano-maggi/27/73a/b20