Difference between revisions of "MOUNT"

From DOSBoxWiki
Jump to: navigation, search
m (Reverted edits by DomcoTrdom (Talk); changed back to last version by WikiSysop)
Line 15: Line 15:
== Windows ==
== Windows ==
=== Setting the amount of free space for a drive ===
<code><pre>Z:\>MOUNT C C:\DOSGAMES -freesize 1024</pre></code>
=== Mounting a folder from your harddrive ===
=== Mounting a folder from your harddrive ===
<code><pre>Z:\>MOUNT C C:\DOSGAMES</pre></code>
<code><pre>Z:\>MOUNT C C:\DOSGAMES</pre></code>

Revision as of 03:05, 17 August 2009

MOUNT.COM is a command inside DOSBox that can connect physical folders and drives to virtual drives inside DOSBox. When you enter the command MOUNT from the DOSBox prompt you should see

Current mounted drives are:
Drive Z is mounted as Internal Virtual Drive

To mount a folder as a drive, follow this basic template.

MOUNT [Drive-Letter] [Local-Directory]

The local directory can be specified relative to the working directory from which DOSBox was started.

To unmount a drive, follow this basic template.

MOUNT -u [Drive-Letter]

Usage Examples


Setting the amount of free space for a drive

Z:\>MOUNT C C:\DOSGAMES -freesize 1024

Mounting a folder from your harddrive


Mounting a floppy drive

Z:\>MOUNT A A:\ -t floppy

Mounting a CD-Rom drive

Z:\>MOUNT D D:\ -t cdrom

Extra CD ROM options

-t [floppy|cdrom] Define how the mounted folder should behave to the emulated operating system.
-usecd [drive #]  For direct hardware emulation ie: audio playback, etc.
-cd = Generate a list of local CD ROM drive's "drive #" values
-label [name] = Set the volume name of the drive (all caps)
-ioctl = Lowest level of hardware access (Win 2K, XP and Linux)...follows the -usecd command

Z:\>MOUNT D D:\ -t cdrom -usecd 0 -ioctl -label GAME_CD

Mounting an ISO-File as volume

Z:\>IMGMOUNT E C:\Images\MyImage.iso -t iso

Mounting a CUE/BIN-Pair as volume

If the game plays additional music tracks from the cd (mixed mode), you can still mount it as an image file. Since ISO can only contain pure data, the image has to be in the CUE/BIN format. You mount it with

Z:\>IMGMOUNT E C:\Images\MyImage.cue -t iso

The BIN-file has to be in the same folder as the CUE-file. It is also possible to use a cuescheet in combination with an ISO and compressed audio tracks in OGG or MP3 format.

Mounting Multiple Images (ISO or CUE/BIN)

Z:\>IMGMOUNT E C:\Images\MyImage1.iso C:\Images\MyImage2.iso -t iso

When mounting multiple images (useful for any application which requires discs to be swapped while it is running), you can then switch between the mounted disk-images by pressing Ctrl+F4 (by default) while your application is running.




Z:\>IMGMOUNT D ~/Documents/IMAGE.toast -t iso

Using your mounted drive

To change to the newly mounted virtual drive simply type


For example (If you mounted a Local-Directory to the Drive-Letter C)