Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
I was a bit upset that Qbasic would only see the old dos filenames as the 8.3 format. So if I tried to produce a list of filenames I only got them cryptic names. And if I went into CMD then I had to EXIT out to get back to basic. I found that CMD has an option that will run CMD and the program (programname) called and exit by itself.
That command is CMD /C programname
So one can create a batch file, run it with SHELL "CMD /C whatever.bat" and then view "whatever's" output..