r/qbasic • u/GearPlot • Sep 06 '26
Building a GUI DOS shell in QuickBASIC 4.5 (WIP)
Still very much a work in progress, but I'm honestly blown away by how far you can push QuickBASIC if you hack on it enough.
Current feature set:
Working mouse support
Directory navigation
File details dialog windows (triggered when clicking things)
Escape key handling
What doesn't work yet:
Actually launching/opening files
The File menu
Basically everything else
It's amazing what you can build with BASIC
2
1
u/diejuse Sep 10 '26
Cool. Go on!
1
u/GearPlot Sep 10 '26
Thank you! I worked on it some more last night. Still running but more tweaking needing now before continuing on.
3
2
u/Juanbolastristes Sep 08 '26
I did something similar decades ago on a 486. My trick to run programs was that my shell ran with a .bat file... that .bat file called another .bat file that the shell wrote... something like this: myshell.bat > calls my shell and on the next line calls run.bat... run.bat is written by the shell to call any program you want to run and then returns to the shell. So what the shell does is exit, allow MS-DOS to execute the .bat file, and then return... my shell was written in C, so it loaded very quickly... it worked well
1
1



3
u/brisray Sep 08 '26
If anyone cares to look, I made something similar in QBasic 1.1 in 2002. Robert Goddard also wrote something similar and that's on that page as well.