VOGONS


More Hard Disk

Topic actions

First post, by ik8ozv

User metadata
Rank Newbie
Rank
Newbie

Hello to the list,
i would like to know if i can mount two or more drives
under DosBox in the same time so i can have C: and D:
If yes which are the commands to put in the .conf file?
Thanks in advance.
Any help will be really appreciated.
Enzo

Reply 2 of 13, by ik8ozv

User metadata
Rank Newbie
Rank
Newbie

Sorry but i could not work it up.
What I have to do it is to call a program that is in:
B:\xxxx\xxxx.exe
The program has to call a dat file that is in:

c:\users\username\documents.

As before I had all on one Hard drive I used a conf file
Placed in:

C:\users\username\appdata\local\dosbox

And in that conf file I have the following commands:

Mount c c:\
C:
Cd xxx
Xxx -fc:\users\username\docume~1\xxxx.dat

Thanks for help

Reply 4 of 13, by ik8ozv

User metadata
Rank Newbie
Rank
Newbie
Tertz wrote:
mount c b:\ mount d c:\users\username\docume~1\ c: cd xxx xxx -f d:\xxxx.dat […]
Show full quote

mount c b:\
mount d c:\users\username\docume~1\
c:
cd xxx
xxx -f d:\xxxx.dat

Thanks it seems it works if i give the commands into the Dosbox but do
not work if i put the commands in an .conf file.
Any help?
Thanks

Reply 5 of 13, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

copy & paste from your conf file and what error do you see in the dosbox window when you run dosbox with this conf file?

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 6 of 13, by Tertz

User metadata
Rank Oldbie
Rank
Oldbie
ik8ozv wrote:

Thanks it seems it works if i give the commands into the Dosbox but do
not work if i put the commands in an .conf file

There should be no difference either you put commands in [autoexec] section or type in DOSBox by hand. Check that it's the same, for example I've inserted the space between '-f' and 'd:\xxxx.dat'. Also sometimes OS manages standard folders by special way and moving .dat to folder like c:\dats\ may change something.

DOSBox CPU Benchmark
Yamaha YMF7x4 Guide

Reply 7 of 13, by ik8ozv

User metadata
Rank Newbie
Rank
Newbie
Tertz wrote:
ik8ozv wrote:

Thanks it seems it works if i give the commands into the Dosbox but do
not work if i put the commands in an .conf file

There should be no difference either you put commands in [autoexec] section or type in DOSBox by hand. Check that it's the same, for example I've inserted the space between '-f' and 'd:\xxxx.dat'. Also sometimes OS manages standard folders by special way and moving .dat to folder like c:\dats\ may change something.

So what i done is:
- The Program is called Ricorda and it is in the B: drive as also the Dosbox program and as O.S. i'm using Windows 10.
- The .dat file which is the data file for the Ricorda program is in C:\Users\username\Documents\
- The .conf file is in c:\users\username\appdata\local\dosbox
- The .conf file has these instructions:

[autoexec]
mount c b:\
mount d C:\Users\Enzo\Docume~2\
c:
cd ricorda
ricorda -fd:\ricorda.dat
exit

As you can notice in the .conf file, the Documents folder has been put as docume~2 as dos does not
recoignize the long name.

- The shortcut i've made in the Startup folder, because it has to run as Windows is loaded has these instructions:

B:\DOSBox-0.74\DOSBox.exe -fC:\Users\username\AppData\Local\DOSbox\test.conf

When i run the program i get the error of the Ricorda program which it says it cannot find the ricorda.dat file.
Thanks

Last edited by ik8ozv on 2015-08-24, 08:53. Edited 1 time in total.

Reply 9 of 13, by ik8ozv

User metadata
Rank Newbie
Rank
Newbie
DosFreak wrote:

Why are you using B:?

Can't you just put the executable and the .dat file in the same location?

I am using b: because i have an SSD HD called C: that contains just the O.S. while
all the programs are in the B: drive

Reply 11 of 13, by ik8ozv

User metadata
Rank Newbie
Rank
Newbie
Dominus wrote:

In your mount d path don't shorten it but use the full path but put it in quotes

You mean like this?

"mount d C:\Users\Enzo\Documenti\"

Reply 12 of 13, by Tertz

User metadata
Rank Oldbie
Rank
Oldbie
ik8ozv wrote:

B:\DOSBox-0.74\DOSBox.exe -fC:\Users\username\AppData\Local\DOSbox\test.conf

DOSBox.exe -conf c:\test.conf

Documents folder has been put as docume~2 as dos does not recoignize the long name

'mount' command is DOSBox's one, not DOS's one

mount d "C:\Users\Any folder\"
maybe short folders names are not supported for mount in autoexec section

DOSBox CPU Benchmark
Yamaha YMF7x4 Guide

Reply 13 of 13, by ik8ozv

User metadata
Rank Newbie
Rank
Newbie

OK it worked?
Thanks for your help.
Thanks to evrybody
Enzo