mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
dos/{boot, choice, config, copy, del}: add pages (#20860)
* BOOT: add page Added documentation for booting from floppy and hard disk images. * CHOICE: add page Added documentation for the CHOICE command in DOS. * CONFIG: add page Add documentation for DOSBox configuration settings. * COPY: add page * DEL: add page * Fix link to DOSBox CONFIG documentation Updated the link for more information on DOSBox CONFIG. * Enhance CONFIG documentation with new commands Expanded the CONFIG section with additional commands and usage examples. * Fix formatting of CONFIG command examples in config.md * Update pages/dos/choice.md Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> * Update pages/dos/boot.md Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com> * Update pages/dos/boot.md Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com> * Update pages/dos/boot.md Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com> * Update pages/dos/copy.md Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com> * Update pages/dos/copy.md Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com> * Update pages/dos/boot.md Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com> * Update pages/dos/del.md Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com> * Update DEL command syntax in documentation * Update link for CHOICE command documentation * Update pages/dos/del.md Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com> * Update pages/dos/del.md Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com> * Update pages/dos/config.md Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com> * Update pages/dos/config.md Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com> --------- Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com>
This commit is contained in:
committed by
GitHub
parent
678efb0b31
commit
583918f1d3
@@ -0,0 +1,16 @@
|
||||
# BOOT
|
||||
|
||||
> Boot floppy or hard disk images directly, bypassing OS emulation.
|
||||
> More information: <https://www.dosbox.com/wiki/BOOT>.
|
||||
|
||||
- Boot from floppy image:
|
||||
|
||||
`BOOT {{path/to/floppy.img}}`
|
||||
|
||||
- Boot from hard disk image:
|
||||
|
||||
`BOOT {{path/to/hard_disk.img}}`
|
||||
|
||||
- Boot multiple floppy images:
|
||||
|
||||
`BOOT {{path/to/floppy1.img path/to/floppy2.img ...}}`
|
||||
@@ -0,0 +1,8 @@
|
||||
# CHOICE
|
||||
|
||||
> Wait for keypress and set `ERRORLEVEL` in batch scripts.
|
||||
> More information: <https://www.dosbox.com/wiki/Commands#CHOICE>.
|
||||
|
||||
- Prompt for yes/no:
|
||||
|
||||
`CHOICE "{{prompt}}"`
|
||||
@@ -0,0 +1,28 @@
|
||||
# CONFIG
|
||||
|
||||
> Change or query DOSBox settings at runtime; save configs/languages.
|
||||
> More information: <https://www.dosbox.com/wiki/CONFIG>.
|
||||
|
||||
- Write current config to file (local drive):
|
||||
|
||||
`CONFIG -writeconf {{path/to/file.conf}}`
|
||||
|
||||
- Write current language strings to file:
|
||||
|
||||
`CONFIG -writelang {{path/to/file.lang}}`
|
||||
|
||||
- Enable secure mode (disables MOUNT/IMGMOUNT/BOOT):
|
||||
|
||||
`CONFIG -securemode`
|
||||
|
||||
- Set a property (e.g., CPU cycles):
|
||||
|
||||
`CONFIG -set "cpu cycles={{10000}}"`
|
||||
|
||||
- Set property (e.g., disable EMS):
|
||||
|
||||
`CONFIG -set "dos ems=off"`
|
||||
|
||||
- Get property value (stored in %CONFIG%):
|
||||
|
||||
`CONFIG -get "cpu core"`
|
||||
@@ -0,0 +1,8 @@
|
||||
# COPY
|
||||
|
||||
> Copy files.
|
||||
> More information: <https://www.dosbox.com/wiki/Commands#COPY>.
|
||||
|
||||
- Copy a file:
|
||||
|
||||
`COPY {{path/to/source_file}} {{path/to/destination_file}}`
|
||||
@@ -0,0 +1,12 @@
|
||||
# DEL
|
||||
|
||||
> Delete one or more files.
|
||||
> More information: <https://www.dosbox.com/wiki/Commands#DEL>.
|
||||
|
||||
- Delete a file:
|
||||
|
||||
`DEL {{path/to/file}}`
|
||||
|
||||
- Delete all files matching a pattern:
|
||||
|
||||
`DEL {{path/to/*.ext}}`
|
||||
Reference in New Issue
Block a user