Batch File to Make Message Box

Published

Introduction: 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

    • Woodworking Contest

      Woodworking Contest
    • Clocks Contest

      Clocks Contest
    • Oil Contest

      Oil Contest
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    Questions

    3 Comments

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

    There are two of number 2 in the options

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