HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

MOUNT — Mount host directories/drives/images as virtual DOS drives. More information: <https://www.dosbox.co

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandimagesdirectoriesclidriveshostmount

Problem

How to use the MOUNT command: Mount host directories/drives/images as virtual DOS drives. More information: <https://www.dosbox.com/wiki/MOUNT>.

Solution

MOUNT — Mount host directories/drives/images as virtual DOS drives. More information: <https://www.dosbox.com/wiki/MOUNT>.

Mount current directory as C:
MOUNT C .


Mount specific directory as C:
MOUNT C {{C:\path\to\directory}}


Mount with free space limit (MB):
MOUNT C {{C:\path\to\directory}} -freesize {{1024}}


Mount floppy drive:
MOUNT A {{A:\}} -t floppy


Mount CD-ROM drive:
MOUNT D {{D:\}} -t cdrom


Mount CD with extra options:
MOUNT D {{D:\}} -t cdrom -usecd {{0}} -ioctl


Unmount drive:
MOUNT -u {{C}}

Code Snippets

Mount current directory as C

MOUNT C .

Mount specific directory as C

MOUNT C {{C:\path\to\directory}}

Mount with free space limit (MB)

MOUNT C {{C:\path\to\directory}} -freesize {{1024}}

Mount floppy drive

MOUNT A {{A:\}} -t floppy

Mount CD-ROM drive

MOUNT D {{D:\}} -t cdrom

Context

tldr-pages: dos/MOUNT

Revisions (0)

No revisions yet.