VOGONS


First post, by BachManiac

User metadata
Rank Newbie
Rank
Newbie

Hi!

I want to make all my old Dosgames easily working on Windows.

Therefore I take a copy of Dosbox for each game and only by starting dosbox the game starts too, programmed in the autoexec.

so I don't have to give any command in the dosbox-command to start the game.

so for example, look at this screenshot:

24622688np5.jpg

The Game folder includes Dosbox-portable and the game itself. When I start Dosbox portable the game startes automatically and when I exit the game, Dosbox closes automatically.

This all is no problem but now here is my question.

as you see I use Dosbox portable because I can copy this folder easily to another PC.

But one problem prevents me from being 100% portable.

in autostart I must mount the game folder but there I must call the full path.

is there a "systemfolder"-variable available so I can use instead of:

mount c: d:\Games\Death_Rally\DRally

a command like this:

mount c: $dosboxfolder$\DRally

is this possible?

like in Windows: Windows have some "system-variables" like $systemroot$ for example.

please help!

tanks!

Reply 1 of 2, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

If you execute the DOSBox executable in the specific game folder then you can just do:

"mount c .\"

It's possible that DBGL can be used on a USB drive. I believe relative path support was added sometime ago. I've never tried DBGL on a USB drive tho. It definetly would be better to use than having a ton of DOSBox executables and config files laying around.

How To Ask Questions The Smart Way
Make your games work offline

Reply 2 of 2, by BachManiac

User metadata
Rank Newbie
Rank
Newbie

thanks!

mount c: .\ didn't work but

mount c: . workes!

thank you! 😉