马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
本帖最后由 qq98360 于 2015-8-8 01:16 编辑
步骤零
如果你是洁癖患者 ,或许你会用到这条命令。C:\DOSBox\DOSBox.exe -editconf notepad.exe -editconf "%SystemRoot%\system32\notepad.exe" -editconf "%WINDIR%\notepad.exe"
步骤一
如果你是。。。。。。算了,直接说吧,配置文件最下端[autoexec]
# Lines in this section will be run at startup. 这里写的每一行都会在DosBox启动之后自动运行
# You can put your MOUNT lines here. 你可以在这里添加MOUNT命令
mount c C:\ASM
C:
以下文字伸手党请无视。
我讨厌每次mount 所以我就去查资料。
dosbox根目录有DOSBox 0.74 Manual.txt
打开看看发现 Start (FAQ):
AUTOMATION: Do I always have to type these commands?
In the DOSBox configuration file is an [autoexec] section. The commands
present there are run when DOSBox starts, so you can use this section
for the mounting. Look at Section 13: The configuration (options) file
大概的意思就是 难道我每次都要输入TMD mount命令吗?
然后作者就回答 不不不 ,dosbox的配置文件有一个节叫autoexec ,每个预设命令在dosbux启动的时候都会运行哒~~!
你可以在那里实现自动mount哒。去看13吧!那里会告诉你如何找到配置文件。
然后我就看望这个13发现他的临床反应如下=====================================
13. The configuration (options) file:
=====================================
The configuration file is automatically created the first time you run DOSBox.
The file can be found in:
(Windows) "Start/WinLogo Menu"->"All Programs"->DOSBox-0.74->Options
(Linux) ~/.dosbox/dosbox-0.74.conf
(MAC OS X) "~/Library/Preferences/DOSBox 0.74 Preferences"
The file is divided into several sections. Each section starts with a
[section name] line. The settings are the property=value lines where value can
be altered to customize DOSBox.
# and % indicate comment-lines.
An extra configuration file can be generated by CONFIG.COM, which can be found
on the internal DOSBox Z: drive when you start up DOSBox. Look in the Section 4:
"Internal programs" for usage of CONFIG.COM. You can start DOSBox with
the -conf switch to load the generated file and use its settings.
DOSBox will load configuration files that are specified with -conf. If none were
specified, it will try to load "dosbox.conf" from the local directory.
If there is none, DOSBox will load the user configuration file.
This file will be created if it doesn't exist.
Important!: In Windows Vista/7 the configuration file won't work correctly
if it is located in "Windows" or "Program Files" folder or their subfolders,
or directly on c:\, so the best place for storing extra configuration files is
for example: C:\oldgames
干货就是 伟大的、正确的、受人尊敬的windows用户 ,您的配置文件在开始菜单。。。。。。
好哒!我又去开始菜单找个13说的配置文件。。。。。。
最后发现其实这个配置文件在C:\Users\Administrator\AppData\Local\DOSBox目录下。 |