VOGONS

Common searches


First post, by Scarabol

User metadata
Rank Newbie
Rank
Newbie

Hi,

how can i get the directory where the dosbox.exe is started from?

MfG
Scarabol

Reply 1 of 8, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

If Windows then:

Click on My Computer
Click on C
Click on Program Files or Program Files (x86)
Click on DOSBox-version#

or

Go to Start Menu
Go to All Programs
Go to DOSBox-Version#
Right-click on a shortcut.
Choose "Open File location"

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

Reply 2 of 8, by Scarabol

User metadata
Rank Newbie
Rank
Newbie

Im sorry i want to change my Z:\> dir to the current dir where DosBox.exe is like C:\Programme\Dos-Box\ how can i do this automatically each time dos box starts also in ohter dirs liek E:\dos\ or F:\driver\dosbox\

I want to insert this into the autoexec section...

MfG
Scarabol

Reply 3 of 8, by IIGS_User

User metadata
Rank Oldbie
Rank
Oldbie

enter

mount c .

into autoexec section.

Replace c by the letter you want to be set as this drive.

(Althought, I would recommend to mount your DOS games documents folder as c drive within DOSBox).

Klimawandel.

Reply 6 of 8, by IIGS_User

User metadata
Rank Oldbie
Rank
Oldbie
Scarabol wrote:

and mount it as cd rom driver how can i do this?

robertmo wrote:

mount c .\dosgames

mount c .\dosgames -t cdrom

Klimawandel.

Reply 8 of 8, by IIGS_User

User metadata
Rank Oldbie
Rank
Oldbie

Even if it is without sense to mount c as cdrom, but if it has been requested don't ask why. 😉

The game may want to write some data, but CD-ROM is write-protected by its nature...

Klimawandel.