VOGONS


Dosbox Shortcuts

Topic actions

First post, by offtheheezay

User metadata
Rank Newbie
Rank
Newbie

Does anyone know how to make a shortcut for games without needing to type in the autoexec for each different game you want to run
atm ive set up a shortcut using autoexec and Targetting the conf and exe's but if i want to play a different game i need to change it every time i want to launch a different game? help plz

Reply 1 of 5, by bloodbat

User metadata
Rank Oldbie
Rank
Oldbie

You need the autoexec.

Reply 2 of 5, by offtheheezay

User metadata
Rank Newbie
Rank
Newbie
bloodbat wrote:

You need the autoexec.

so everyone time i go to run a different game i need to change the autoexec?

Reply 3 of 5, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

In the autoexec keep a general mounting for c.
In rhat folder keep batch files with the needed commands for running your games.
Batch files are text files wiith the file extension bat.
Example
in autoexec:
Mount c c:/dosgames

There you have the batch file game.bat with the content:
Cd game
Game.exe

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 5 of 5, by aqrit

User metadata
Rank Member
Rank
Member

On Windows I use a batch file as a sendto target

@echo off
CHDIR /D D:\Programs\DosBox
start dosbox.exe -c "mount x: %~dsp1 " -c x: -c "%~snx1 "