dos/{mount, rd}: add page (#20865)

* RD: add page

Add documentation for the RD command in DOS.

* MOUNT: add page

Added documentation for mounting drives in DOS.

* Update pages/dos/mount.md

Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>

* Update pages/dos/mount.md

Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>

* Update pages/dos/rd.md

Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com>

* Update pages/dos/mount.md

Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com>

* Update pages/dos/rd.md

Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com>

* Apply suggestions from code review

Co-authored-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>

---------

Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com>
Co-authored-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
This commit is contained in:
Adriano Inghingolo
2026-01-31 15:25:14 +01:00
committed by GitHub
parent b756106975
commit 678efb0b31
2 changed files with 40 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
# 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}}`
+8
View File
@@ -0,0 +1,8 @@
# RD
> Remove a directory.
> More information: <https://www.dosbox.com/wiki/Commands#RD>.
- Remove directory:
`RD {{path\to\directory}}`