+ Post New Thread
Results 1 to 3 of 3
Windows Thread, Script msg box in Technical; Ji I have created a .bat file and want to add a pop up msg box asking the user a ...
  1. #1

    Join Date
    Feb 2008
    Posts
    343
    Thank Post
    52
    Thanked 3 Times in 3 Posts
    Rep Power
    14

    Script msg box

    Ji I have created a .bat file and want to add a pop up msg box asking the user a prompt to run or cancel. I can only get this to show ok? Does anybody know how to add a cancel to this?


    echo msgbox"Click Continue t or Cancel">a.vbs &a.vbs
    start

    Thanks

  2. #2


    Join Date
    Feb 2007
    Location
    51.403651, -0.515458
    Posts
    9,365
    Thank Post
    241
    Thanked 2,811 Times in 2,075 Posts
    Rep Power
    812
    This should do it (although there may be a better way depending upon what you are doing)...

    Code:
    echo msgbox "Click OK or Cancel",1 > a.vbs && wscript a.vbs

  3. #3

    Join Date
    Feb 2008
    Posts
    343
    Thank Post
    52
    Thanked 3 Times in 3 Posts
    Rep Power
    14
    Thanks that works with the ok and cancel, but when I click cancel it does not stop the script from running.

    Thanks

SHARE:
+ Post New Thread

Similar Threads

  1. [CLOSED] Bug/Error: Script error from the richedit box under IE8
    By SYNACK in forum EduGeek.net Site Problems
    Replies: 2
    Last Post: 10th May 2010, 09:23 AM
  2. Action Scripting in Flash
    By StewartKnight in forum Web Development
    Replies: 11
    Last Post: 4th June 2006, 11:23 AM
  3. Replies: 18
    Last Post: 14th October 2005, 09:28 AM
  4. Script to create a local user on a XP box.
    By tosca925 in forum Scripts
    Replies: 3
    Last Post: 12th October 2005, 12:04 AM
  5. The KiXtart free-format scripting language
    By ninjabeaver in forum Downloads
    Replies: 10
    Last Post: 16th June 2005, 12:11 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •