Using something like DOS is neither preferred nor more safe. Last time MS DOS received a security patch was 23 years ago. It’s open to pretty much any security vulnerability you can think of. In case you depend on a DOS app it’s preferable to run it on a modern OS that is DOS compatible, windows 10 32bit for example (I believe Win11 still has support). Or even better sandboxed in an emulator like DOSBox on a more secure OS.
Using something like DOS is neither preferred nor more safe. Last time MS DOS received a security patch was 23 years ago. It’s open to pretty much any security vulnerability you can think of. In case you depend on a DOS app it’s preferable to run it on a modern OS that is DOS compatible, windows 10 32bit for example (I believe Win11 still has support). Or even better sandboxed in an emulator like DOSBox on a more secure OS.