VB yes no Question in batch

Hewlett-packard / Sd2100
May 2, 2009 at 20:57:24
Specs: Windows XP, 1024
is there a way to use a simple yes no VB script in batch file.

what i want to do is have a batch file do tasks but as an example

have it ask YES or no popup in VB to exit or to back to the main menu.

is that possiable?


See More: VB yes no Question in batch

Report •

May 3, 2009 at 17:54:47
you can download the manual from here
search for stdin in the manual. there will be examples showing how you can ask for user input

Report •

May 3, 2009 at 20:35:58
Does any one havnt an example? that help file didnt show anything. ?

Report •

May 3, 2009 at 21:45:03
its a chm file. you can search what you want using the "Index" or "Search" tab. search for "stdin". yes, there is example.

Report •

Related Solutions

May 4, 2009 at 20:28:52
well that CHM file wont work all i get is page can not be displayed.

Report •

May 17, 2009 at 12:32:13
does anyone know use VBS yes no dialog and send the answer thought a goto command to use with a batch file?


Report •

May 20, 2009 at 08:16:09
@echo off

>$$$.vbs echo wscript.quit msgbox("yes return 6, no return 7", vbyesno)
cscript//nologo $$$.vbs

echo errorlevel=%errorlevel%

Report •

May 20, 2009 at 16:51:03
for some reason im getting an error on the vbs. says invalid character.

any clue what wrong? also how can i use the echo errorlevel in a goto?

Thank again for the help.

Report •

May 20, 2009 at 18:37:18
I figured it out, dumb error on my part.

anyway Thank you reno for you work.

Report •

May 21, 2009 at 06:36:24
no problem =)

Report •

Ask Question