RosettaCodeData/Task/Hello-world-Graphical/Batch-File/hello-world-graphical.bat

10 lines
259 B
Batchfile
Raw Permalink Normal View History

2014-01-17 05:32:22 +00:00
@echo off
2015-11-18 06:14:39 +00:00
::Output to message box [Does not work in Window 7 and later]
msg * "Goodbye, World!" 2>nul
2014-01-17 05:32:22 +00:00
2015-11-18 06:14:39 +00:00
::Using MSHTA.EXE Hack::
@mshta javascript:alert("Goodbye, World!");code(close());
@mshta vbscript:Execute("msgbox(""Goodbye, World!""):code close")
pause