VOGONS


First post, by pauldow

User metadata
Rank Newbie
Rank
Newbie

Hello,

I'm trying to get an old DOS based database application running on a 64 bit Windows Server 2008 R2 system.
I've installed DOSBox, but I have a bit of a problem. The application is 'menu.exe', and it seems to have links to that name within other .exe and .bat files within the directory that get called.
When I enter the command 'menu' or 'menu.exe' it just brings up the 'Welcome to DOSBox v0.74' message box. I tried copying menu.exe to menu2.exe, so it wouldn't use the internal function, but I get the same result.

Is there a way to get this to run?
is there a way to disable the internal DOSBox 'menu' command?

Thanks

Reply 1 of 4, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

There is no shell command named "menu" or internal program called "menu.exe", at least not in official DOSBox. Perhaps the menu.exe program is executing "intro", because that does display a welcome message and various usage info. However, it sounds to me like you're getting a subshell instead of a subprogram, so there may be an issue with that menu program where it doesn't work correctly in DOSBox.

Just like real DOS, DOSBox first searches the current directory and then the PATH for programs, and that includes the internal programs on the Z: drive. The only exception to this is shell commands. For example, if you have a program named COPY.EXE, just entering "COPY" references the shell command, so you need to enter a path and/or extension (e.g. "C:\UTIL\COPY.EXE") to run a program with a name that is the same as a shell command.

Reply 2 of 4, by pauldow

User metadata
Rank Newbie
Rank
Newbie

Thank you for the reply, and pointing me away from my wrong path. I'll have to find some debugger that can show me what this program is doing. I copied the application from the 64 bit server to my 32 bit laptop running Vista, and the program works in the ntvdm style DOS, but not in DosBox.

I haven't looked at my Path for a while. I didn't realize that there are still some obnoxious developers who put their application in the path, and then don't even remove it after an uninstall. (Not yours)

Reply 3 of 4, by Jorpho

User metadata
Rank l33t++
Rank
l33t++

You may find a debug-enabled version of DOSBox to be useful. I think there's one included in the SVN Daum build.

Reply 4 of 4, by pauldow

User metadata
Rank Newbie
Rank
Newbie

Thanks,

Sorry I didn't reply sooner. I just realized that I hadn't sent this note back yet.
I installed the SVN Daum build you recommended, and I was expecting to have to spend some time examining the guts of the program with the debugger. Well the program only gave a Btrieve permission error, so I just had to run it with administrator rights. It's fine now.

Thank you for your help with this.
Paul