Batch File to Make Message Box

Intro: Batch File to Make Message Box

How To Make A Message Box With A Batch File.

Key:

0 =OK button only

1 =OK and Cancel buttons

2 =Abort, Retry, and Ignore buttons

3 =Yes, No, and Cancel buttons

4 =Yes and No buttons

5 =Retry and Cancel buttons

16 =Critical Message icon3

2 =Warning Query icon

48 = Warning Message icon

64 =Information Message icon

Step 1: The Code

@echo off

echo x=msgbox("Your Text Here" ,0, "Your Title Here") >> msgbox.vbs

start msgbox.vbs

^Sorry For MIstake!!!

Replace 0 with your number.

Step 2: Save As Msg.bat

DONE!

Share

    Recommendations

    • Optics Contest

      Optics Contest
    • Plastics Contest

      Plastics Contest
    • Electronics Tips & Tricks Challenge

      Electronics Tips & Tricks Challenge

    3 Discussions

    0
    None
    Markuz123

    5 months ago

    How do you make it do something based on the button pressed

    0
    None
    Markuz123

    5 months ago

    There are two of number 2 in the options

    0
    None
    ḞrḁnḉiṡC56

    10 months ago

    This is not the answer that i've been looking for it create a vbs file lol