Jump to content

Short (8.3) filenames for non-ANSI long names are unusable

Guest Loren

Recommended Posts

Guest Loren

For filenames that have a Unicode character near the beginning, the short filename generated also contains a non-ANSI character. The short name cannot be typed on the command line and it is not possible to use it to retrieve the long name with the GetLongPathName() API function. Windows and other programs I have used remove non-ANSI characters when generating short filenames. The first directory listing below is of a file on the hard drive where the short name is generated by Windows and the second is of files on a DVD generated using CDBurnerXP. The file in the first listing was copied to the hard disk from the DVD.

Volume in drive D is Data

Volume Serial Number is 1C16-26B3

Directory of D:\Mp3\audio

02/19/2011 04:09 PM 54,243,004 BLUEYS~1.WAV Blue ™yster Cult- (Don't Fear) The Reaper.wav

1 File(s) 54,243,004 bytes

0 Dir(s) 339,629,977,600 bytes free

Volume in drive E is AUDIODVD_26

Volume Serial Number is 4858-D3B8

Directory of e:\

02/19/2011 04:09 PM 54,243,004 BLUE™~19.WAV Blue ™yster Cult- (Don't Fear) The Reaper.wav

02/17/2011 12:39 PM 47,574,732 BLUE™~1D.WAV Blue ™yster Cult- Burnin' For You.wav

2 File(s) 101,817,736 bytes

0 Dir(s) 0 bytes free

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.