VOGONS

Common searches


First post, by Fexel

User metadata
Rank Newbie
Rank
Newbie

Hey there,

I wanna make a .bat/.com file which gets .conf file for starting dosbox.exe with, in another folder.

@echo off
cd DosBox
cd DOSBox 0.74
start dosbox -conf test.conf (Works great if .conf is in the same folder as the dosbox.exe)

I tried:

@echo off
cd DosBox
cd DOSBox 0.74
start dosbox -conf cd examplefoldername test.conf

Right! Doesnt worked 😉

So, what is the trick to start the dosbox.exe with a .conf file which is in another folder?

Thx for reading 😉

Reply 1 of 4, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author
dosbox -conf c:\whatever\wherever\test.conf

or using relative paths

dosbox -conf ..\test.conf

Water flows down the stream
How to ask questions the smart way!

Reply 2 of 4, by megatron-uk

User metadata
Rank Oldbie
Rank
Oldbie

Seriously? You need to tell it where the conf file is located, so in windows, something like:
dosbox -conf c:\games\dosbox\conf-files\test.conf

unix/linux/osx:
dosbox -conf /games/dosbox/conf-file/test.conf

Replacing games/dosbox/conf-files with the correct path. This is really *very* basic computer useage though...

My collection database and technical wiki:
https://www.target-earth.net

Reply 3 of 4, by VileR

User metadata
Rank l33t
Rank
l33t
megatron-uk wrote:

This is really *very* basic computer useage though...

not so basic for people who have only ever used a GUI-based OS though.
(it still should be, if you ask me... would make the number of "help wanted" threads magically decrease by at least 50%) 😀