Your (new) Windows PC doesn’t support DOS applications anymore.
Previous Windows 32-bit versions included NTVDM, facilitating DOS programs to run. Windows (10) 64-bit is now the norm: Starting a DOS program will only display a popup it can’t run:
Microsoft dropped 16-bit (so also DOS) support in 64-bit versions, not just recently in Windows 10!
To find a version for your PC, check with the software publisher.
That probably doesn’t help: The DOS application could be developed by yourself, a company not supporting it anymore, or even out of business. Despite eventual Windows versions/alternatives, you may prefer using that application for various reasons and time to come.

First option was to install a virtual Windows 32-bit system. The setup can be daunting. To 'only' run that DOS application, its actual use overkill and cumbersome.

vDos lets you conveniently run DOS applications by emulating an extended DOS PC in a window. Not in a nostalgic manner, as once in DOS/NTVDM, but adapted/optimized for modern Windows. vDos itself runs on Windows 7 or later, 32 and 64-bit. It will be the most adequate solution for using serious DOS programs.

If you however don't still use (rely on) a DOS application, but want to play/experiment with DOS, its command prompt, programs or games: Forget about vDos, it is not meant for you!
vDos highlights.
DOS applications start almost instantly in a scalable window and crisp TTF font (in text mode). Actually delayed (the almost) until it is ready for input, so you don’t first get a list of DOS startup commands.
Mature and no-nonsense, focuses exclusively on serious end-user programs, setup yours easily. No tricky configuration to load drivers, set file handles, keyboard layout, language character set…
Run multiple DOS applications (simultaneously), if needed with their own specific configuration. No conflicts with eventual Windows NTVDM instances running alongside (like in a mixed network).
Also prints to Windows-only (GDI) printers, for instance a virtual printer to produce PDF’s.
Reliable, its file system is (in sync with) that of Windows. No internal file caching/buffering corrupting data.
Secure, confines DOS applications to assigned local or network directories.
Network support with (verified) record locking, required by multi-user DOS applications to function reliable.
Copy/paste Windows text to DOS and vice versa, transparent conversion of Windows Unicode/DOS ASCII text.
Portable, small footprint and little impact on Windows resources. Not advertising its presence, except if unregistered and networked.
vDos by JHM Schaars - The Netherlands - CoC 09103086 - VAT NL001103274B12 - No cookies