Difference between revisions of "MOUNT"

From DOSBoxWiki
Jump to: navigation, search
(Mounting a CD-Rom drive)
Line 18: Line 18:
 
=== Mounting a CD-Rom drive ===
 
=== Mounting a CD-Rom drive ===
 
<code><pre>Z:\>MOUNT D D:\ -t cdrom</pre></code>
 
<code><pre>Z:\>MOUNT D D:\ -t cdrom</pre></code>
 +
 +
=== Extra CD ROM options ===
 +
<code><pre>  -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</pre></code>
 +
 
=== Mounting an ISO-File as volume ===
 
=== Mounting an ISO-File as volume ===
 
<code><pre>Z:\>IMGMOUNT E C:\Images\MyImage.iso -t iso</pre></code>
 
<code><pre>Z:\>IMGMOUNT E C:\Images\MyImage.iso -t iso</pre></code>

Revision as of 17:22, 6 April 2008

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

Z:\>MOUNT
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]

To unmount a drive, follow this basic template.

MOUNT -u [Drive-Letter]

Usage Examples

Windows

Mounting a folder from your harddrive

Z:\>MOUNT C C:\DOSGAMES

Mounting a CD-Rom drive

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

Extra CD ROM options

  -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

Linux

Z:\>MOUNT C ~/DOSGAMES

Mac OSX

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

Using your mounted drive

To change to the newly mounted virtual drive simply type

[Drive-Letter]:

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

Z:\>C: