https://www.dosbox.com/wiki/api.php?action=feedcontributions&user=Jdmarch&feedformat=atomDOSBoxWiki - User contributions [en]2024-03-28T11:35:06ZUser contributionsMediaWiki 1.34.1https://www.dosbox.com/wiki/index.php?title=MOUNT&diff=882MOUNT2008-06-04T22:31:48Z<p>Jdmarch: </p>
<hr />
<div>'''MOUNT.COM''' is a command inside DOSBox that can connect physical folders and drives to [[Drives|virtual drives]] inside DOSBox. When you enter the command MOUNT from the DOSBox prompt you should see<br />
<code><pre>Z:\>MOUNT<br />
Current mounted drives are:<br />
Drive Z is mounted as Internal Virtual Drive</pre></code><br />
<br />
To mount a folder as a drive, follow this basic template.<br />
<code><pre>MOUNT [Drive-Letter] [Local-Directory]</pre></code><br />
<br />
The local directory can be specified relative to the working directory from which DOSBox was started.<br />
<br />
To unmount a drive, follow this basic template.<br />
<code><pre>MOUNT -u [Drive-Letter]</pre></code><br />
<br />
= Usage Examples =<br />
<br />
== Windows ==<br />
=== Mounting a folder from your harddrive ===<br />
<code><pre>Z:\>MOUNT C C:\DOSGAMES</pre></code><br />
<br />
=== Mounting a floppy drive ===<br />
<code><pre>Z:\>MOUNT A A:\ -t floppy</pre></code><br />
<br />
=== Mounting a CD-Rom drive ===<br />
<code><pre>Z:\>MOUNT D D:\ -t cdrom</pre></code><br />
<br />
=== Extra CD ROM options ===<br />
-t [floppy|cdrom] Define how the mounted folder should behave to the emulated operating system.<br />
-usecd [drive #] For direct hardware emulation ie: audio playback, etc.<br />
-cd = Generate a list of local CD ROM drive's "drive #" values<br />
-label [name] = Set the volume name of the drive (all caps)<br />
-ioctl = Lowest level of hardware access (Win 2K, XP and Linux)...follows the -usecd command<br />
<br />
Z:\>MOUNT D D:\ -t cdrom -usecd 0 -ioctl -label GAME_CD<br />
<br />
=== Mounting an ISO-File as volume ===<br />
<code><pre>Z:\>IMGMOUNT E C:\Images\MyImage.iso -t iso</pre></code><br />
<br />
== Linux ==<br />
<code><pre>Z:\>MOUNT C ~/DOSGAMES</pre></code><br />
<br />
== Mac OSX ==<br />
<code><pre>Z:\>MOUNT C ~/DOSGAMES</pre></code><br />
<code><pre>Z:\>IMGMOUNT D ~/Documents/IMAGE.toast -t iso</pre></code><br />
<br />
== Using your mounted drive ==<br />
To change to the newly mounted virtual drive simply type<br />
<code><pre>[Drive-Letter]:</pre></code><br />
<br />
For example (If you mounted a Local-Directory to the Drive-Letter '''C''')<br />
<code><pre>Z:\>C:</pre></code></div>Jdmarchhttps://www.dosbox.com/wiki/index.php?title=MOUNT&diff=881MOUNT2008-06-04T22:31:21Z<p>Jdmarch: clarify that mount can be to a relative directory</p>
<hr />
<div>'''MOUNT.COM''' is a command inside DOSBox that can connect physical folders and drives to [[Drives|virtual drives]] inside DOSBox. When you enter the command MOUNT from the DOSBox prompt you should see<br />
<code><pre>Z:\>MOUNT<br />
Current mounted drives are:<br />
Drive Z is mounted as Internal Virtual Drive</pre></code><br />
<br />
To mount a folder as a drive, follow this basic template.<br />
<code><pre>MOUNT [Drive-Letter] [Local-Directory]</pre></code><br />
<br />
The local directory can be specified relative to the working directory from which DOSBox was started.<br />
To unmount a drive, follow this basic template.<br />
<code><pre>MOUNT -u [Drive-Letter]</pre></code><br />
<br />
= Usage Examples =<br />
<br />
== Windows ==<br />
=== Mounting a folder from your harddrive ===<br />
<code><pre>Z:\>MOUNT C C:\DOSGAMES</pre></code><br />
<br />
=== Mounting a floppy drive ===<br />
<code><pre>Z:\>MOUNT A A:\ -t floppy</pre></code><br />
<br />
=== Mounting a CD-Rom drive ===<br />
<code><pre>Z:\>MOUNT D D:\ -t cdrom</pre></code><br />
<br />
=== Extra CD ROM options ===<br />
-t [floppy|cdrom] Define how the mounted folder should behave to the emulated operating system.<br />
-usecd [drive #] For direct hardware emulation ie: audio playback, etc.<br />
-cd = Generate a list of local CD ROM drive's "drive #" values<br />
-label [name] = Set the volume name of the drive (all caps)<br />
-ioctl = Lowest level of hardware access (Win 2K, XP and Linux)...follows the -usecd command<br />
<br />
Z:\>MOUNT D D:\ -t cdrom -usecd 0 -ioctl -label GAME_CD<br />
<br />
=== Mounting an ISO-File as volume ===<br />
<code><pre>Z:\>IMGMOUNT E C:\Images\MyImage.iso -t iso</pre></code><br />
<br />
== Linux ==<br />
<code><pre>Z:\>MOUNT C ~/DOSGAMES</pre></code><br />
<br />
== Mac OSX ==<br />
<code><pre>Z:\>MOUNT C ~/DOSGAMES</pre></code><br />
<code><pre>Z:\>IMGMOUNT D ~/Documents/IMAGE.toast -t iso</pre></code><br />
<br />
== Using your mounted drive ==<br />
To change to the newly mounted virtual drive simply type<br />
<code><pre>[Drive-Letter]:</pre></code><br />
<br />
For example (If you mounted a Local-Directory to the Drive-Letter '''C''')<br />
<code><pre>Z:\>C:</pre></code></div>Jdmarchhttps://www.dosbox.com/wiki/index.php?title=Talk:Dosbox.conf&diff=880Talk:Dosbox.conf2008-06-04T22:26:30Z<p>Jdmarch: clarify search order for configuration file under Windows</p>
<hr />
<div>Please clarify that under Windows, the configuration file is searched for in the following order:<br />
1. as specified by the -conf startup option if any.<br />
2. dosbox.conf, if it exists in the current working directory <br />
3. dosbox.conf in the program binary directory</div>Jdmarch