First post, by Andrew4096
- Rank
- Newbie
I have DOSBox 0.73 running in Ubuntu 10.04.4 LTS (Linux), installed from the Canonical, Ltd. software repository. I'm running a few old DOS programs, with working installations copied from a Windows 98SE machine. To launch the applications, I have a collection of batch files, located in C:\BATCH. The default path in the /home/sysop/.dosbox/dosbox-0.74.conf file is C:\;C:\BATCH when DOSBox starts up. Some of the applications want their local directory added to the path, so my batch files add the desired path to %PATH%.
When I launch the application from C:\ by typing the batch file name without the ".BAT" extension, everything is fine. The application launches and runs as expected. When I exit the application, I end up in a subdirectory, not at C:\. If I now type the same batch file name without the ".BAT" extension, DOSBox responds:
Illegal command: <name of command>
The same batch file works perfectly in Windows 98 when typed in a command window.
Here's a specific example. One of the programs I'm running is WordStar 6. The batch file to launch it is called WS6.BAT and it runs as expected when I launch it as "ws6" from C:\. When WordStar finishes, it ends up in C:\WS6\DOC. The modified PATH is now C:\WS6;C:\;C:\BATCH. When I type "ws6", DOSBox displays:
Illegal command: ws6.
When I type the complete batch file name, "ws6.bat", the batch file runs as before and launches WordStar again. This behavior is very un-DOS-like, not being able to run batch commands sans file name extension from an arbitrary sub-directory, even though the location of the batch file is in the current path.
Is this a known bug in DOSBox? Am I missing something in my dosbox-0.74.conf file? I studied EricGG's DOSBox FAQ file, but didn't find anything helpful there. 😕
EDIT: Saturday, April 07 2012 03:13:45 -- changed "DOSBox 0.74" to "DOSBox 0.73".