最新版本的Windows带来了许多改进。不幸的是,随着这些改进,对运行某些DOS程序的支持已经丢失。对于那些依附于旧DOS软件的人来说,这是有希望的。
您仍然可以使用名为DOSBox的开源DOS模拟器运行您喜欢的DOS程序。DOSBox旨在运行DOS游戏,但也可以运行许多其他DOS应用程序。甚至还有一长串已经在DOSBox上测试过的(DOSBox)DOS程序。与Windows一样,DOSBox也可以在Mac OS X、Linux和FreeBSD下运行。
下载并安装 DOSBox
导航到DOSBox.com 下载网站(DOSBox.com downloads website)并选择Windows链接。您将被自动转发到SourceForge.net网站以下载安装文件。如果下载有问题,请点击直接链接或点击镜像链接选择其他下载站点。
确保(Make)您有 4.3 MB 的可用空间来安装DOSBox。启动文件,然后确保选中核心(Core)文件和桌面快捷方式(Desktop Shortcut)。单击下一步(Click Next)并安装(Install)以继续安装,然后单击关闭(Close)。
安装 DOS 软件
在开始安装软件之前,请在 C: 驱动器上为文件创建一个目录。例如,如果您想玩游戏,请创建一个DosGames目录。确保(Make)您的文件夹名称不超过 8 个字符。
不要使用空格或除字母或数字以外的任何字符来命名您的DOS目录。创建目录后,将DOS文件移动到该目录或将DOS软件直接安装到该目录中。
安装驱动器
在开始之前,请确保所有DOS程序都安装在一个目录中。使用桌面上的快捷方式启动 DOSBox 。(Start DOSBox)在命令提示符下,键入MOUNT C C:\DIRECTORY\,其中DIRECTORY是硬盘驱动器上包含DOS程序的文件夹。如果DOS文件在软盘上,请键入MOUNT A A:\ -t floppy。如果它们在 CD 上,请键入MOUNT E E:\ -t cdrom,其中 E 是 CD-ROM 驱动器的盘符。
在某些情况下,您将无法在目录路径中键入反斜杠 ()。这是由于 DOSBox 的键映射和某些键盘的键映射之间的冲突。要解决此问题,请按CTRL + F1。删除(Delete)并重新添加反斜杠键以重新映射键盘,直到反斜杠键键入正确的字符。
每次启动DOSBox时都必须重新安装驱动器。
更改目录(Change Directories)并运行您的 DOS 程序(Run Your DOS Program)
只需键入已安装驱动器的名称,您就可以在DOSBox中轻松更改目录。例如,如果您已安装驱动器 C:,则只需在 Z: 提示符处键入C :。然后键入DIR以查看目录中的文件。
键入CD加上目录名称以更改为不同的目录。再次键入DIR以查看新目录的内容。查找 .COM 或 .EXE 文件名。键入文件名以启动程序。
有关使用 DOS 的更多提示,请阅读如何在 DOS 命令提示符中导航(How to navigate in the DOS command prompt)。
Run Old DOS Games and Programs in Windows XP, Vista, 7/8/10
Many improνements have come with thе moѕt recent versions of Windows. Unfortunately, along with these improvements, support for running certain DOS programs has been lоst. For those who are attached to their old DOS software, there is hope.
You can still run your favorite DOS programs using an open source DOS emulator called DOSBox. DOSBox was designed to run DOS games, but will run many other DOS applications as well. There’s even a long list of DOS programs that have been tested on DOSBox. As well as Windows, DOSBox will run under Mac OS X, Linux and FreeBSD.
Download and Install DOSBox
Navigate to the DOSBox.com downloads website and select the Windows link. You will be automatically forwarded to the SourceForge.net website to download the installation file. If you have trouble with the download, click the direct link or click the mirror link to choose another download site.
Make sure you have 4.3 MB of free space to install DOSBox. Start the file, then make sure that Core files and Desktop Shortcut are selected. Click Next and Install to continue the installation, then click Close.
Install DOS Software
Before you start installing your software, create a directory on your C: drive for the files. For example, if you would like to play games, create a DosGames directory. Make sure that your folder name is 8 characters or less.
Don’t use spaces or any characters other than letters or numbers to name your DOS directory. Once the directory has been created, move your DOS files to the directory or install the DOS software directly into the directory.
Mount a Drive
Before you get started, make sure all your DOS programs are installed in a single directory. Start DOSBox with the shortcut on your desktop. At the command prompt, type MOUNT C C:\DIRECTORY\, where DIRECTORY is the folder on your hard drive containing your DOS programs. If the DOS files are on a floppy disk, type MOUNT A A:\ -t floppy. If they’re on a CD, type MOUNT E E:\ -t cdrom, where E is the letter of your CD-ROM drive.
In some cases, you won’t be able to type a backslash (\) in the directory path. This is due to a conflict between DOSBox’s key mapping and the key mapping of some keyboards. To solve the problem, press CTRL + F1. Delete and re-add the backslash key to remap the keyboard until the backslash key types the right character.
You must re-mount the drive each time you start DOSBox.
Change Directories and Run Your DOS Program
You can change your directory easily in DOSBox by simply typing the name of your mounted drive. For example, if you’ve mounted drive C:, then simply type C: at the Z: prompt. Then type DIR to see the files in your directory.
Type CD plus the name of the directory to change to a different directory. Type DIR again to see the contents of the new directory. Look for a .COM or .EXE file name. Type the file name to start the program.
For more tips on using DOS, read How to navigate in the DOS command prompt.