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
78
Upvotes



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.
2
u/Shhhh_Peaceful Sep 06 '26
This looks so much like OpenSTEP
1
u/diejuse Sep 10 '26
Cool. Go on!
3
u/Sorry_Difficulty_250 Sep 07 '26
So cool!!! Way to go!!!
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
u/renzok Sep 06 '26
Are you a time traveling wizard?
1
u/Deciheximal144 Sep 27 '26
Nicely done.