Clippy: You asked why. This program is for a PSDOS system. In batch scripts, I often need to take input on-the-fly from the user. This program would do this. From the batch script, you would call it like:
Where the variable is the environment variable into which you want to put the stuff that was types into ASK.EXE by the user.
Artelius: Thanks. That solved that one of the problems!
Solitaire: Thanks also. That solved the other problem. I don't know why I didn't think of that too! Duh! So I guess if QBASIC's ENVIRON function doesn't work, I could use: