First post, by Wengier
DOSBox is a great software which will emulate DOS under various operating systems such as Windows. Unfortunately, the latest official version of DOSBox still lacks Long File Name (LFN) support, which is a very important feature implemented since MS-DOS 7.x and Windows 95. I have seen many DOSBox users requested this feature in the past years in various forums, but no solution was yet given. So I decided to go ahead myself and finally managed to implement LFN support for DOSBox.
LFN support in DOSBox come with two parts, one is LFN support for shell commands such as DIR/CD/COPY (as well as the auto-completion feature of the Tab key), the other is the implementation of Int21/AX=71xx functions for LFN-aware DOS programs. Currently the first part should generally work fine, and for the second part - the great majority of AX=71xx functions have been more or less fully implemented, so many or most LFN-aware DOS programs should already work fine with LFN in DOSBox now, but some functions have not been implemented completely, so problems with certain LFN-aware DOS programs may occur. Besides LFN support, this build uses the actual 8.3 short file names instead of generating arbitrary ones when running under Windows which has the 8.3 file name generation turned on. The initial build is intended to be a "proof of concept", so if you find any issues regarding LFN you can report them so that they may be fixed soon or later.
The current LFN-enabled build, known simply as DOSBox SVN-lfn, is based on the official DOSBox SVN version. I have uploaded the Windows 32-bit binary (along with required run-time files such as SDL.dll) as attachment. The DOSBox source code is quite large so I am not really sure how to upload it. Suggestions are welcome.
(P.S. I originally intended to post this thread in the DOSBox Patches Forum, but found that I could not, so I decided to post it here instead.)
EDIT: It has now been moved to the DOSBox Patches Forum. The attachment remains the same. The Windows binary now also features automatic drive mounting, direct LPT passthrough, APM power off, DBCS and mouse copy/paste support (and the DOS APIs that communicate with the Windows clipboard are supported too; see also the other thread by me in this forum) in addition to LFN support.
EDIT2: Updated the attachment. The latest Windows binary (along with required DLLs, zipped) is always downloadable from the URL: dosbox-svn-lfn.zip
Or you can download from http://bit.ly/1laDvGX for an (older) Windows binary compiled with MinGW instead of Visual Studio.
For more information and download links relating to my LFN-supporting versions of DOSBox and vDos, you can visit the page made by Edward Mendelson (emendelson) here: http://wpdos.org/dosbox-vdos-lfn.html
Update: The latest version of the LFN patch is now included as part of DOSBox-X, so please check out DOSBox-X for the latest LFN feature.