
dosbox 自動運行

New versions of Windows don’t fully support classic DOS games and other old applications — this is where DOSBox comes in. It provides a full DOS environment that runs ancient DOS apps on modern operating systems.
Windows的新版本不完全支持經典DOS游戲和其他舊應用程序-這是DOSBox的用處。它提供了一個完整的DOS環境,該環境可以在現代操作系統上運行古老的DOS應用程序。
We’ve written about using the D-Fend Reloaded front-end for DOSBox in the past, but what if you just want to use DOSBox itself? We’ll show you to how to mount directories, use DOSBox’s internal commands, execute programs and use DOSBox’s keyboard shortcuts like a pro.
我們過去曾經寫過關于在DOSBox上使用D-Fend Reloaded前端的文章,但是如果您只想使用DOSBox呢? 我們將向您展示如何掛載目錄,使用DOSBox的內部命令,執行程序以及使用DOSBox的鍵盤快捷鍵(如pro)。
入門 (Getting Started)
DOSBox is available as a free download from the DOSBox website. It’s not just for Windows — installers are available for Mac OS X, Linux and other UNIX-like systems. If you’re using Ubuntu, you’ll find DOSBox available in the Ubuntu Software Center.
DOSBox可從DOSBox網站免費下載。 這不僅適用于Windows,而且安裝程序可用于Mac OS X,Linux和其他類似UNIX的系統。 如果您使用的是Ubuntu,則可以在Ubuntu軟件中心找到DOSBox。

You’ll also need the game or application you want to run. If you have an old floppy disk, it’s time to pull it out. If the game was available as shareware, you’re in luck — you should be able to find it online. Most DOS games are fully compatible, but DOSBox’s homepage hosts a compatibility list so you can check your favorite game’s compatibility.
您還需要要運行的游戲或應用程序。 如果您有舊的軟盤,是時候將其取出。 如果該游戲可以作為共享軟件使用,那么您很幸運-您應該可以在線找到它。 大多數DOS游戲都是完全兼容的,但是DOSBox的主頁上有一個兼容性列表,因此您可以檢查自己喜歡的游戲的兼容性。
安裝目錄 (Mounting Directories)
Once it’s installed, you can fire DOSBox up from your desktop or Start menu. You’ll get two windows — a status window and the main DOSBox window. You can ignore the status window.
安裝完成后,您可以從桌面或“開始”菜單啟動DOSBox。 您將獲得兩個窗口-狀態窗口和主DOSBox窗口。 您可以忽略狀態窗口。
(As readers have noted, you can also run a program by dragging and dropping its EXE file onto DOSBox’s application icon, so feel free to give that a try.)
(正如讀者已經指出的,您也可以通過將EXE文件拖放到DOSBox的應用程序圖標上來運行程序,請嘗試一下。)

Before you run a game, you’ll have to mount its directory. DOSBox’s environment is separate from your computer’s file system. In other words, the C: drive in DOSBox is completely separate from the C: drive on your computer.
在運行游戲之前,您必須安裝其目錄。 DOSBox的環境與計算機的文件系統是分開的。 換句話說,DOSBox中的C:驅動器與計算機上的C:驅動器完全分開。
Here’s an example mount command:
這是一個示例安裝命令:
mount c c:\games\
掛載cc:\ games \
This command mounts the C:\Games directory on your computer as the C: drive in DOSBox. Replace c:\games with the location of the games directory on your computer.
此命令將C:\ Games目錄安裝為DOSBox中的C:驅動器。 將c:\ games替換為游戲目錄在計算機上的位置。

Add the -t cdrom switch if you’re mounting a CD-ROM. For example, the following command takes the CD-ROM drive at D: on your computer and mounts it as the C: drive in DOSBox:
如果要安裝CD-ROM,請添加-t cdrom開關。 例如,以下命令將CD-ROM驅動器放在計算機上的D:并將其安裝為DOSBox中的C:驅動器:
mount c D:\ -t cdrom
掛載c D:\ -t cdrom
瀏覽和運行應用程序 (Navigating Around and Running Applications)
Once you’ve got your game files mounted, you can type C: and press Enter to switch to DOSBox’s C: drive.
掛載游戲文件后,可以鍵入C:并按Enter鍵切換到DOSBox的C:驅動器。
Use the dir command to list the contents of the current directory and the cd command, followed by the name of a directory, to change to a directory. Use the cd .. command to go up a directory.
使用dir命令列出當前目錄的內容,然后使用cd命令列出目錄名稱,然后再更改目錄。 使用cd ..命令進入目錄。

Type the name of an EXE file in the current folder to execute that program. You may have to run an install program before playing your game or running your application.
在當前文件夾中鍵入EXE文件的名稱以執行該程序。 在玩游戲或運行應用程序之前,您可能必須運行安裝程序。

If you do, install the game like you would on a normal DOS system.
如果這樣做,請像在普通的DOS系統上一樣安裝游戲。

Once it’s installed, you can navigate to the game’s EXE file and run it by typing its name.
安裝完成后,您可以導航到游戲的EXE文件并通過鍵入其名稱來運行它。

At this point, you’re ready to play. You’ll have to repeat the mount process each time you restart DOSBox, although you’ll only have to install and configure the game once.
至此,您可以開始游戲了。 每次重新啟動DOSBox時,您都必須重復安裝過程,盡管您只需安裝和配置游戲一次。

鍵盤快捷鍵 (Keyboard Shortcuts)
DOSBox has a variety of keyboard shortcuts. Here are the most essential ones:
DOSBox具有各種鍵盤快捷鍵。 這是最重要的:
Alt-Enter switches between full-screen and windowed modes.
Alt-Enter在全屏和窗口模式之間切換。
If a game runs too fast, you can slow it down by pressing Ctrl-F11. Likewise, you can speed up slow games by pressing Ctrl-F12. DOSBox’s emulated CPU speed, displayed in its title bar, will change each time you press these keys.
如果游戲運行得太快,可以通過按Ctrl-F11使其變慢。 同樣,您可以通過按Ctrl-F12來加快慢速游戲的速度。 DOSBox的模擬CPU速度(顯示在其標題欄中)將在您每次按這些鍵時更改。
Type the intro special command to see a full list of DOSBox’s shortcut keys.
鍵入intro特殊命令以查看DOSBox的快捷鍵的完整列表。

DOSBox can also run DOS programs that aren’t games — including the Windows 3.1 operating system itself — but games are its main use case. The DOS programs people used to rely on have been replaced, but classic games can never be replaced.
DOSBox還可以運行不是游戲的DOS程序-包括Windows 3.1操作系統本身-但游戲是其主要用例。 人們過去所依賴的DOS程序已被替換,但是經典游戲永遠無法替換。
翻譯自: https://www.howtogeek.com/104725/how-to-use-dosbox-to-run-dos-games-and-old-apps/
dosbox 自動運行