VOGONS


Read/Write file problem

Topic actions

First post, by boredatwork

User metadata
Rank Newbie
Rank
Newbie

I have an old .exe program that does read/writes to two files. One is the configuration file and one is a "data" file, basically they are just both ASCII flat files. For some unknown reason, the program will not list the files in the open portion of the program, but I can type in the name and it will open one of them. It will not open the "data" file that goes with it.

The DOSBox shell states this:

SHELL:Redirect output to c:dirfile

The writes to that file work, but nothing else does. All files are readable and writeable through edit, so I'm not sure if I missed some sort of Idiot switch for file usage.

Any help is greatly appreciated.

Reply 1 of 2, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Kind of hard to diagnose anything without specifics. You could try running the program in a debugger build of DOSBox to see if anything meaningful appears in the log messages.

You can get a debugger build of DOSBox 0.74 here: DOSBox debugger

Reply 2 of 2, by boredatwork

User metadata
Rank Newbie
Rank
Newbie

Thanks. I'll try that out tomorrow.