I have discovered what Gates did (Nov 2004, his fix called SP2) to stop all applications like QBASIC working.
What he did is deleted autoexec.nt
Replace it and those DOS programs he sabotaged now work fine again, and it is so easy to do:
What you put in it hardly matters. What matters is SOMETNG is there, and he deleted it!
So do this:
Launch Notepad (or Wordpad) and on the screen it provides, type in
followed by pressing Enter (carriage return)
Then save this as file c:\windows\system32\autoexec.nt.
On Notepad you may need to put the filename in quotes – or it may save your @ECHO OFF as a file called Autoexec.nt.txt
If you do this and it still does not work, reopen autoexec.nt and add the following lines:
SET BLASTER=A220 I5 D1 P330 T3