Transfer/open a Program from DOS to Windows XP

I am a Mac guy with little historical perspective on DOS/Windows, so I am calling out to the tech-minded for advice:

I have a friend who has an old DOS program that scores a test.

Basically, you input about 40 scores by hand and it generates a whole bunch of summary scores.

There is a lot of logic and it can’t be easily hand-programmed in Excel.

Is there a program that allows one to:

A) Convert a DOS program to an .EXE that runs in newer versions of Windows?
b) Emulate DOS in newer versions of Windows?

Have a look at DOSBox - it runs on XP or Vista, but emulates DOS. Its primary purpose in life is to emulate DOS for old games, so it’s possibly going to have problems with non-gaming activities like printing and getting onto a network.

Has he tried running it from a command prompt? If this is just a command line program (non-GUI), it will (probably) work. Even some graphical programs will work. Failing that, find the program executable’s icon in explorer, right-click on it, select properties, go to the Compatibility tab, and try some of those options. If those fail, then go and get DOSBox, like gotpasswords suggested.

Every version of Windows has come with a command-line shell that runs DOS programs. If you’re not doing anything fancy with sound and graphics, this should be sufficient for your needs.

ETA: How to get to a command line in Windows: MHuffman.com is for sale | HugeDomains

Keep in mind that on XP there are two command prompts. cmd and command. I would try cmd first and the command if cmd does not work.

Start->run type cmd in the box labled open. Or type command.

Based on your description it’s a little confusing exactly what type of program this is. If the name ends with .COM or .EXE you may just be able to copy the file to the new computer and just click on the icon directly, without using the command prompt. However, printing may be a problem.