For occasional DOS stuff you should check FreeDOS
https://www.freedos.org/
FreeDOS is an open source DOS-compatible operating system that in some cases performs even better than MS-DOS did. You can install FreeDOS even on somewhat modern computer where installing MS-DOS would certainly fail.
Based on my experience the biggest problem running FreeDOS on modern computers is finding working drivers for Sound Cards since modern Sound Cards no longer support operating in DOS compatible mode.
But on older machine from early Windows era you can install the original MS-DOS drivers for your hardware and it will most likely work like a charm.
Bookmarks