Ah.
Finally the context emerges.
Honestly your best bet may be to run the DOS in a VM and use the actual host system to do the DVD burning.
BUT if you must.,..
seems to show that some sort of CD-ROM driver exists for DOS 6.22 - you could try that - but it may be read only.
is a DOS executable that can burn CDs/DVDS
see
But it expects a windows 7 subsystem...
In short you could waste a lot of time and get nowhere.
Seriusly, how does the PC communicate with the lathe? I would really be thinking that virtualbox running DOS is the way to go...and some kind of access to the host file system from there.
It should work with 'windows shares' on the host too, or on a remote machine if the PC is networked.
None of this is simple.
Another option might be to run DOSBOX.
My inclinations since I cut mt teeth on networking DOS would bve a linux host running samba, and a DOS VM with networking code inside it to mount directories on the host system.
But thats just me. DOSBOX looks like an option too.