Pre-windows 95, EDIT.COM was actually QBASIC.EXE running with the command line switch /EDIT.
Really annoying, as it meant that if you wanted a native TUI editor on an MS-DOS book disk, you had to shoe-horn the larger QBASIC.EXE on to it somehow just to be able to edit config files.