Since Windows 10 cannot execute the original .EXE or .COM files directly, you must use an emulator:
Here is the descriptive text for :
Mount your local Windows drives within the emulator to allow the legacy XTreeGold to "see" your modern files. Limitations: xtgold for windows 10