Search This Blog

Thursday, July 23, 2015

Tidbit: How to generate popup windows with DOS?

TO DISPLAY POP-UPS with DOS.

echo X=MsgBox("Message Description",0+16,"Title") >msg.vbs

–you can write any numbers from 0,1,2,3,4 instead of 0 (before the ‘+’ symbol) & here is the meaning of each number:

0 = Ok Button 
1 = Ok/Cancel Button 
2 = Abort/Retry/Ignore button 
3 = Yes/No/Cancel 
4 = Yes/No 

–you can write any numbers from 16,32,48,64 instead of 16 (after the ‘+’ symbol) & here is the meaning of each number:

16 – Critical Icon 
32 – Warning Icon
48 – Warning Message Icon
64 – Information Icon

============
This itself is incomplete for any OS higher than Win XP, so u need to use this command afterwards,
msg * "msg"
  • Facebook Comment
  • Google+
  • Disqus Comment
  • 0Blogger Comment
comments powered by Disqus

Leave your comment

Post a Comment

You don't need ANY account or registration to comment here. Please drop your comments below to improve the quality of our posts. You can also give us suggestions and ask us about your problems.

Flying Bird Widget