Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Possible Duplicate:
Why 64 bit OS can't run a 16 bit application?
How do I get 16-bit programs to work on a 64-bit Windows?

Here at work my new development machine is Windows 7 64-bit (so I can use extra memory and run VMs). However I have a dilemma: it appears that 16-bit DOS programs do not run under Windows 7 64-bit.

I have an old legacy program written in Clipper that I need to run periodically.

I cannot access the compatibility setting as Windows 7 just greys them out.

share|improve this question

migrated from stackoverflow.com Sep 8 '11 at 0:24

This question came from our site for professional and enthusiast programmers.

marked as duplicate by Tom Wijsman, random Sep 9 '11 at 2:18

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
What sort of output/output does the software do? if it needs something like a serial port or if you need to print, the answer would be very different from if you just need text saved to a file. –  Journeyman Geek Sep 8 '11 at 7:43
    
Related: gaming.stackexchange.com/questions/1393/… –  Oak Sep 8 '11 at 8:56
    
I recommend dosbox as well. However back in the day, when the switch to win95 happened at the shop I worked in, our database written in Clipper tested great except for printing. I think it had to with direct access to prn: and lpt: not working with the windows spooler and drivers. It was hard coded. –  horatio Sep 8 '11 at 14:30
add comment

6 Answers 6

For older DOS programs you can try running them in DOSBox Emulator.

share|improve this answer
2  
DOSBox is the best option IMHO. Very lightweight and pretty simple. A VM is overkill unless you're running a 16-bit Windows app. –  Matthew Read Sep 8 '11 at 3:51
    
I downloaded "Dark Forces" from Steam just a week ago and it works on Win7 64-bit using DOSBox. It has an issue when run in fullscreen mode (changing colors, nothing serious) but those disappear if you use windowed mode. –  Mike Sep 8 '11 at 6:57
1  
@Mike, if it's from Steam, I can imagine it either bundles a DOSBox (clone) or is actually 32 bit code. Many DOS games were 32 bit and ran with a "DOS Extender". –  Prof. Falken Sep 8 '11 at 7:04
1  
@Jakob It is DOSBox. I only wanted to point out that DOSBox can even handle 'complex 3D applications' from the DOS-era in a 64-bit Win7 environment. –  Mike Sep 8 '11 at 7:07
    
@Mike, ah, yes, DOSBox is really, really good. :) –  Prof. Falken Sep 8 '11 at 7:15
show 2 more comments

You gave your own solution in your question:

so I can ... run VMs

Just run a VM that is capable of running your Clipper application, VMWare with an earlier version of Windows or FreeDOS (or real MSDOS).

Just be aware that you generally need licences to run operating systems in virtual machines (which is why FreeDOS may be a viable option if you can't get a licence for the Microsoft DOS).

share|improve this answer
add comment

If you have Windows 7 Professional, Ultimate or Enterprise then you can use the built-in Windows XP mode.

share|improve this answer
2  
Note that XP mode supports very few video modes, so some applications won't display correctly. VMWare doesn't have this issue. –  Matthew Read Sep 8 '11 at 3:51
    
@Matthew: Do you have a list of which modes are or are not supported? –  Gabe Sep 8 '11 at 12:04
    
The only app from DOS days that I tried - Turbo C - works in XP mode. Why not try your app in XP mode? its free –  Akash Sep 8 '11 at 12:28
    
XP mode works but is not suitable for games. It runs a full XP inside an integrated version of VirtualPC. –  Thorbjørn Ravn Andersen Sep 8 '11 at 13:52
    
@Gabe I can't find the original TechNet post I had read. A few weeks ago I had tried playing an old Windows 95 game in XP Mode and it failed, and research uncovered the video mode as the cause; and the game works in VMWare. I'll try searching through my history later to find it again. –  Matthew Read Sep 8 '11 at 15:38
add comment

I would recommend you D-Fend Reloaded.

It includes DOSBox and a graphical user interface which makes it much easier to configure. You can even download D-Fend Reloaded with some freeware games already included and configured.

enter image description here

share|improve this answer
add comment

Might be a bit OT, but since the question is Tagged Windows...

It is also possible to run Win16-Applications through DOSBox since, given installation disks of windows 3.1 or images thereof, it is possible to install and run Windows 3.1x again.

Detailed isntructions can be found here: http://vogons.zetafleet.com/viewtopic.php?t=9405

share|improve this answer
add comment

The short answer is not without a third party emulation of the 16 bit DOS environment. The long answer is covered in this Wiki Article, http://en.wikipedia.org/wiki/Virtual_DOS_machine , which notes the absence of the NTVDM (NT Virtual DOS Machine) exclusion from the 64 bit environments.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.