VOGONS


First post, by Vinylsol

User metadata
Rank Newbie
Rank
Newbie

I'm new here so I apologise if this has come up before but I can't find it.

I'm running a 1980s language, Turbo Basic, which is 32 bit, and I'm running it using DosBox to get it to work in a new Windows 11, 64 bit machine. Turbo Basic itself, and the programs I have compiled from it, all seem to run okay but when I try to load my data files I get a 'Path Not Found' error. I've checked to make sure the paths are correct and even tried copying my data files to C:\, changing the path to C:\ and trying to load them from there, but that doesn't work either.

To further confuse me, when I created a NEW file in C:\ I was able to load it - but not the original files.

In the attached example, the program's default path is D:\SCOREPRE\1986\LEAGUE and I have made certain that this exists and has files in it, exactly as it does on my 32 bit machine, where it works fine. So I'm confused because if the compiled Turbo Basic programs run with no trouble at all, how come they can't open the data files?

Any advice would be appreciated.

Reply 1 of 2, by konc

User metadata
Rank l33t
Rank
l33t

Just to make sure, D:\SCOREPRE\1986\LEAGUE is mounted in dosbox and you are not referring to a real path in the host file system, right? Dosbox can't directly access folders on the host unless they are mounted. Sorry if I'm saying the obvious, you probably have done this already since you managed to run your program.

Because you mentioned that copying the data files to your mounted C drive also doesn't work, make sure you don't do this with dosbox running. It doesn't track any updates to the mounted folder, so you need to refresh or run dosbox after you have all files copied to the folder to be mounted.

Reply 2 of 2, by IIGS_User

User metadata
Rank Oldbie
Rank
Oldbie

Within DOSBox, please type "mount" and post the result.
So we know how to teach you the way.

Klimawandel.