1
0
Fork 0
mirror of https://github.com/dosbox-staging/dosbox-staging synced 2025-12-04 16:27:29 -05:00
8 Shortcuts
kcgen edited this page 2021-09-23 12:23:16 -07:00

Purpose

Usually running DOS programs involves typing multiple commands into the DOSBox terminal, for each single launch.

Shortcuts let you skip that.


🪟 On Windows

Create a new program shortcut with its target set as described in the section below.

If you're new to creating shortcuts, here's a tutorial, however there are many more online as well.


🐧 On Unix

Create a plain text document named for example "run on dosbox.sh".

Inside it type:

#! /bin/sh
# [target]

Where `# [target] is as described in the section below.

Finally, set the document as executable. That option is usually available by right clicking on the document and selecting "properties".


🎯 Target

"[pathToDosboxExe]" [gameExeName] -fullscreen -exit

If the game needs disk images:

"[pathToDosboxExe]" -c "mount c [pathToGameDir]" -c "imgmount d [listOfPathsToDiskImages] -t cdrom" [gameExeName] -fullscreen -exit

Examples

  • dosbox run.bat -fullscreen -exit

  • /my/preferred/dosbox -c "imgmount d cd/image.cue -t cdrom" game.exe -fullscreen -exit

  • /my/preferred/dosbox -c "mount c path/to/game/" -c "imgmount d path/to/game/cd/image.cue -t cdrom" -c "c:" -c "start.exe" -fullscreen -exit


💿 Changing disk

Control + F4