Believe it or not, I have two CNC machines running under DOS, the still available out there, DOS 7.1, the 'unofficial' version.
Just proof that you do not need a bloated program such as Windows to run CNC.
One missing from the list is ZDOS, the Zenith-Heathkit version.
M.