Difference between revisions of "MOUNT"

From DOSBoxWiki
Jump to navigationJump to search
m (Made other small formatting fixes)
m (Cleaned up formatting)
Line 1: Line 1:
 
'''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
 
'''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
:<code><pre>Z:\>MOUNT
+
<code><pre>Z:\>MOUNT
:Current mounted drives are:
+
Current mounted drives are:
:Drive Z is mounted as Internal Virtual Drive</pre></code>
+
Drive Z is mounted as Internal Virtual Drive</pre></code>
  
 
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>
  
 
= Usage Examples =
 
= Usage Examples =
  
 
== Windows ==
 
== Windows ==
:<code><pre>Z:\>MOUNT C C:\DOSGAMES</pre></code>
+
<code><pre>Z:\>MOUNT C C:\DOSGAMES</pre></code>
  
 
== Linux ==
 
== Linux ==
:<code><pre>Z:\>MOUNT C ~/DOSGAMES</pre></code>
+
<code><pre>Z:\>MOUNT C ~/DOSGAMES</pre></code>
  
 
To change to the newly mounted virtual drive simply type
 
To change to the newly mounted virtual drive simply type
:<code><pre>MOUNT [Drive-Letter]:</pre></code>
+
<code><pre>MOUNT [Drive-Letter]:</pre></code>
  
 
For example (If you mounted a Local-Directory to the Drive-Letter '''C''')
 
For example (If you mounted a Local-Directory to the Drive-Letter '''C''')
:<code><pre>Z:\>C:</pre></code>
+
<code><pre>Z:\>C:</pre></code>

Revision as of 22:30, 18 December 2007

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]

Usage Examples

Windows

Z:\>MOUNT C C:\DOSGAMES

Linux

Z:\>MOUNT C ~/DOSGAMES

To change to the newly mounted virtual drive simply type

MOUNT [Drive-Letter]:

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

Z:\>C: