DOSBox 8.3 filenames disagree with Windows 7

Posted by wes on Super User See other posts from Super User or by wes
Published on 2012-11-27T22:48:19Z Indexed on 2012/11/27 23:11 UTC
Read the original article Hit count: 253

Filed under:
|
|

When I compare a dir in DOSBox 0.74 against a dir from Windows 7 command prompt, the 8.3 filenames differ.

Long format (both drives and directories):

2012-07-30_abcdefg-abcde
2012-07-30_abcdefg-abcde.7z
2012-08-06_abcdefg-abcde
2012-08-06_abcdefg-abcde.7z
2012-10-22_IIS-LogFiles
2012-10-22_IIS-LogFiles.zip
2012-11-14_selective-abcde

DOSBox 0.74 (dir):

2012-0~1
2012-0~3
2012-1~1
2012-1~3
2012-0~2 7Z
2012-0~4 7Z
2012-1~2 ZIP

Windows 7 (dir /x):

2012-0~1
2012-0~1.7Z
2012-0~2
2012-0~2.7Z
2012-1~1
2012-1~1.ZIP
2012-1~2

so for instance if I'm passing in a path to DOSBox, sometimes this happens and whatever I'm trying to automate will fail. Why the difference, and can I change any settings to help DOSBox generate the correct shortnames?

© Super User or respective owner

Related posts about filenames

Related posts about dosbox

  • DOSBox 8.3 filenames disagree with Windows 7

    as seen on Super User - Search for 'Super User'
    When I compare a dir in DOSBox 0.74 against a dir from Windows 7 command prompt, the 8.3 filenames differ. Long format (both drives and directories): 2012-07-30_abcdefg-abcde 2012-07-30_abcdefg-abcde.7z 2012-08-06_abcdefg-abcde 2012-08-06_abcdefg-abcde.7z 2012-10-22_IIS-LogFiles 2012-10-22_IIS-LogFiles… >>> More

  • Dosbox has no sound

    as seen on Ask Ubuntu - Search for 'Ask Ubuntu'
    I try to run a game under dosbox, but it has no sound, and in the terminal dosbox says: MIXER:Can't open audio: No available audio device , running in nosound mode. ALSA:Can't subscribe to MIDI port (65:0) nor (17:0) MIDI:Opened device:none Update I changed the ports to 128:0 in the dosbox config… >>> More

  • Renaming Z drive in DOSBox

    as seen on Super User - Search for 'Super User'
    DOSBox makes a virtual drive, which it names Z:, for storing utility stuff on. Clearly they're trying to stay out of your way, so you can do whatever you want with the C: drive. Swell, I understand that. But I've got some old database accessing software I really, really want to run which assumes it… >>> More

  • Dosbox USB print Windows 8.1 64Bit

    as seen on Super User - Search for 'Super User'
    Worked fine until I've upgraded to Windows 8.1 as well as made the mail programm working (had to get a windows live ID and have to type in a password now, when starting Windows). I did set the USB printer to lpt1 on the local Windows 8 computer and another XP computer via LAN to lpt2 the same way… >>> More

  • How To Use DosBox for Windows 7

    as seen on ASP Free - Search for 'ASP Free'
    While many modern games use every bit of technology available to give gamers the latest in graphics sound and advanced gameplay some just cannot duplicate the fun that old games used to offer. A lot of fun yet old DOS games will not run on modern computers or operating systems like Windows 7 … >>> More