VOGONS

Common searches


DosBox does not recognise my drives

Topic actions

First post, by GeorgeC

User metadata

Hi,

I've mounted my drive and started my DOS program successfully. Now I need to copy a file to disk but it lists drives from A to Z it doesn't recognise any drive but will save a file to the mounted drive/folder. When I run the same program on a native DOS computer it lists only the existing drives and I can scroll through and save to whatever drive/folder I wish. When I try to retrieve a file from disk DOSBox lists A to Z but it won't recognize any of them and I can't retrieve a file at all. On the native DOS machine it lists only the existing drives and folders and I can load the file I wish wherever it is. I have tried using Set Path in DOSBox also.

Where am I going wrong?

George

Reply 2 of 20, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

> I've mounted my drive and started my DOS program successfully.

Details please. Exactly how did you mount and start it?

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 3 of 20, by Guest

User metadata

I have a PC with the following specs -
P4 3.0gHz
ASUS P4C800-E
1gb RAM
Radeon 9600XT
XP Home

I have a program P4000 that I use to exchange data between my PC and a RC transmitter.

I started DosBox
at the Z:\ prompt entered mount c c:\pc4000_20.pc
I then ran the batch file and my program started. I have got the serial port to work now so there is communication between the program and the transmitter.
In the program, one of the menu items can load a data file from disk. In the native DOS it lists only available drives including subdirectories and I can load or save a file to disk. In DOSBox it lists drive letters from A - Z but they are not accessible and no subdirectories are shown.
I have also tried including mount a a:\ to see if it registers the a drive in my program. It is accessible at the DOS prompt but not from within the program.

Thanks for your help

Reply 4 of 20, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

Hmm... I would have expected the C drive to be available. Try mounting your diskette with the floppy option:

Z:>mount A A:\ -t floppy

and the C drive with the ioctl option:

Z:>mount C C:\pc4000_20.pc -ioctl

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 5 of 20, by GeorgeC

User metadata
Rank Newbie
Rank
Newbie

Minimax thanks for your reply.

Unfortunately neither option works. As I said in my earlier post, it works on both a DOS machine and from the XP DOS prompt. (I can't use the XP command line to run the program as the COM port I require does not work in XP but we now have it working in DOSBox).

Any further help would be appreciated.

George

Reply 6 of 20, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

This P4000 program - is it the one they talk about here?
http://www.rc-soar.com/multiplex/4000/p4000/p4000_readme.htm

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 8 of 20, by GeorgeC

User metadata
Rank Newbie
Rank
Newbie

Minimax - Yes that is the program.

Avatar - I can run the program okay mounting the drive and folder but when in the program it can't find any of my logical drives.

ANTEC Sonata | ASUS P4C800-E | P4 3.0gHz | 1gb Corsair TwinX | Radeon 9600XT | XP Home | 2 x 120gb Seagate SATA | Pioneer DVD

Reply 9 of 20, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

George - I downloaded and installed the program, but I am not sure which menu and what file you are trying to load.

Here is what I did:

  1. Made a directory called I:\Downloads\P4000.
  2. Made 2 subdirectories named A and C.
  3. In the P4000 directory, I made a simple dosbox.conf file containing this:
    [autoexec]

    mount C "I:\Downloads\P4000\C"
    mount A "I:\Downloads\P4000\A" -t floppy

    C:
  4. Unzipped the downloaded P4000.zip into the A directory.
  5. Edited the A\zzz.bat file to solve a problem with DOSBox's version of xcopy and rename to read:
    cls
    echo off

    if NOT "%1" == "" goto copy
    echo.
    echo Zum Installieren der Software geben Sie :
    echo.
    echo install.exe
    echo.
    echo ein.
    echo.
    echo.
    echo.
    goto ende


    :copy
    mkdir %1
    copy INSTALL.EXE %1
    copy ZZZ.ovl %1
    copy ZZZ.bat %1

    if EXIST %1zzz.exe del %1zzz.exe
    rename %1zzz.ovl %1zzz.exe

    %1zzz.exe %1 -y

    del %1zzz.*
    del %1install.*

    :ende
  6. Started DOSBox with the little dosbox.conf from the I:\Downloads\P4000 directory
    (C:\Program Files\DOSBox\dosbox.exe -conf "I:\Downloads\P4000\dosbox.conf")
  7. In DOSBox, made the A-drive my current drive:
    C:>A:
    A:>A:install
  8. Installed the program into the default location (C:\P4000_20.PC).
  9. Changed to C:\P4000_20.PC and started the program using the START.BAT file.

What should I do then?

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 10 of 20, by GeorgeC

User metadata
Rank Newbie
Rank
Newbie

Here is a screen dump as to how the dialogue box should look.[/img]

Attachments

  • Load file screen dump.JPG
    Filename
    Load file screen dump.JPG
    File size
    105.75 KiB
    Views
    2345 views
    File comment
    Screen as it should be
    File license
    Fair use/fair dealing exception

ANTEC Sonata | ASUS P4C800-E | P4 3.0gHz | 1gb Corsair TwinX | Radeon 9600XT | XP Home | 2 x 120gb Seagate SATA | Pioneer DVD

Reply 11 of 20, by GeorgeC

User metadata
Rank Newbie
Rank
Newbie

Here is how it looks in DOSBox [/img]

Attachments

  • DOSBox screen dump.JPG
    Filename
    DOSBox screen dump.JPG
    File size
    237.49 KiB
    Views
    2344 views
    File comment
    DOSBox screen dump
    File license
    Fair use/fair dealing exception

ANTEC Sonata | ASUS P4C800-E | P4 3.0gHz | 1gb Corsair TwinX | Radeon 9600XT | XP Home | 2 x 120gb Seagate SATA | Pioneer DVD

Reply 12 of 20, by GeorgeC

User metadata
Rank Newbie
Rank
Newbie

I should have also said -

from the P4000_20.PC folder
Start <Enter>
Press the <Alt> key to obtain a "connection"
It will say "Connection established"
Press the <Alt> key to select "Model"(may have to press a couple of times)
With "Model" highlighted press <Enter>
Scroll down to the last menu item press <Enter>

The screens shown in my previous post are the result - the first one is as it should be, the second, as it appears in DosBox

ANTEC Sonata | ASUS P4C800-E | P4 3.0gHz | 1gb Corsair TwinX | Radeon 9600XT | XP Home | 2 x 120gb Seagate SATA | Pioneer DVD

Reply 13 of 20, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

Seems to work for me? You just have to scroll all the way down (using the Arrow-Down key) to get past all the drives (A, B, C, ....., Z) that DOSBox seems to invent for you.

Attachments

  • P4000-load.png
    Filename
    P4000-load.png
    File size
    18.29 KiB
    Views
    2337 views
    File license
    Fair use/fair dealing exception

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 14 of 20, by GeorgeC

User metadata
Rank Newbie
Rank
Newbie

What can I say MiniMax - I look pretty dumb now 😦

I saw the drives and tried to select and got caught up in the focus on C and A without scrolling down to the bottom!

Thanks for showing me the importance of keeping an open mind 😁

I still can't get the A drive to work but that's not so important.

George

ANTEC Sonata | ASUS P4C800-E | P4 3.0gHz | 1gb Corsair TwinX | Radeon 9600XT | XP Home | 2 x 120gb Seagate SATA | Pioneer DVD

Reply 15 of 20, by scarnie

User metadata
Rank Newbie
Rank
Newbie

G'Day all - I think the reason for all the drives in P4000 is because DosBox registers with drive 'Z', so DosBox probably assumes all of the ones in between are available too..

Can we mount the default 'Z' as 'D' or something?

Cheers,

Stu

Cheers,

Stu

Reply 16 of 20, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

Well usually in DOS you'd set Lasdrive= to be your last drive. I'll have to load up VPC and see if it actually made the drive letters in between show up.

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

Reply 17 of 20, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Patch: don't show 1000 unused drives.

Attachments

  • Filename
    driveletters.diff
    File size
    559 Bytes
    Downloads
    223 downloads
    File license
    Fair use/fair dealing exception

Reply 18 of 20, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

Excellent. Was playing around with Windows 3.1 in DosBox last night and the pesky A-Z was there in File Manager like always. (Thankfully it's just 26 letters and not a 1,000 tho 😉 )

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

Reply 19 of 20, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

my thanks as well

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