I tried and was unable to do it, using the WshShell object's Run and
AppActivate methods. Each ran cls (or a batch file) in another thread.
I would suggest putting your menu program in a batch file. Either run it
directly, or use the Run method to launch it from a VBScript. The program
will run in another DOS window, but you can do what you want there, then
exit and return to where ever you came from (the first DOS window or what
ever). I assume you have figured out how to accept input from the user at a
command prompt. I used to use assembly language tools for that, but there
might be better ways now.
Of course, you could display the menu selections with InputBox in VBScript,
but I assume your menu is too large.
strAns = InputBox("Select an option by number:" _
& vbCrLf & vbCrLf & "1: First" _
& vbCrLf & "2: Second" _
& vbCrLf & "3: Third", "Menu")
There are also options using the IE object in VBScript if you really want to
get fancy. If this interests you, do a Google Advanced Group search in the
scripting newsgroups, searching on "InternetExplorer.Application".
Microsoft MVP Scripting and ADSI
HilltopLab web site - http://www.yqcomputer.com/