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..