Difference between revisions of "MOUNT"

From DOSBoxWiki
Jump to: navigation, search
(Mounting a folder from your harddrive)
Line 6: Line 6:
 
To mount a folder as a drive, follow this basic template.
 
To mount a folder as a drive, follow this basic template.
 
<code><pre>MOUNT [Drive-Letter] [Local-Directory]</pre></code>
 
<code><pre>MOUNT [Drive-Letter] [Local-Directory]</pre></code>
 +
 +
To unmount a drive, follow this basic template.
 +
<code><pre>MOUNT -u [Drive-Letter]</pre></code>
  
 
= Usage Examples =
 
= Usage Examples =

Revision as of 23:30, 24 March 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

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: