Re: convert to short name

From: Carey Frisch [MVP] (mrxp2004_at_nospamyahoo.com)
Date: 07/27/04


Date: Tue, 27 Jul 2004 11:30:18 -0500

Short file names
Every time you create a file with a long file name, NTFS creates a second file entry that has a similar 8.3 short file name. A file with an 8.3 short file name has a file name containing 1 to 8 characters and a file name extension containing 1 to 3 characters. The file name and file name extension are separated by a period.

If you have a large number of files (300,000 or more) in a folder, and the files have long file names with the same initial characters, the time required to create the files increases. The increase occurs because NTFS bases the short file name on the first six characters of the long file name. In folders with more than 300,000 files, the short file names start to conflict after NTFS uses all of the 8.3 names that are similar to the long file names. Repeated conflicts between a generated short file name and existing short file names cause NTFS to regenerate the short file name from 6 to 8 times.

To reduce the time required to create files, you can use the fsutil behavior set disable8dot3 command to disable the creation of 8.3 short file names. (You must restart your computer for this setting to take effect.) For more information about disabling 8.3 short file names, see "MS-DOS-Readable File Names on NTFS Volumes" later in this chapter.

If you want NTFS to generate 8.3 names, you can improve performance by using a naming scheme in which long file names differ at the beginning instead of at the end of the name.

For more information about short file names, see "File Names in Windows XP Professional"

-- 
Carey Frisch
Microsoft MVP
Windows XP - Shell/User
Be Smart!  Protect your PC!
http://www.microsoft.com/security/protect/
-------------------------------------------------------------------------------------------------
"matt" <anonymous@discussions.microsoft.com> wrote in message:
 news:4fc301c473f2$0773dc90$a601280a@phx.gbl...
| i'm looking for a way to convert to a file's short name 
| without using the command prompt. anyone know how to do 
| this?


Relevant Pages

  • Re: Alternate data Streams
    ... Search For Hidden Or System Files In Windows XP ... NTFS formatted, and all retain the ADS when files are copied between ... Alternate Data Streams are pieces of info hidden as metadata on ...
    (microsoft.public.windowsxp.general)
  • Re: RosAsm - right click
    ... (about HPFS but NTFS is an "evolved" version of HPFS) ... reduce the distance the read / writes heads have to travel...but ... But it's the most stable Windows there is...note, ... etc....much like a very simple assembler ...
    (alt.lang.asm)
  • Re: msblast virus
    ... time malware goes active on the PC. ... firewall switched on (which may bonk your LAN connectivity, ... > Windows partitions, then create a new partition, then format the primary ... Reconsider that "preferably NTFS" bit. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Windows and Maildir
    ... Windows NT with NTFS has both file streams and extended ... > NT whose performance with large directories is better than that of FAT. ... And there won't be much of a difference between FAT and NTFS. ... because the problem is in the filesystem format and not in the ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Conversion to NTFS - implications for recovery procedures
    ... meant procedures for switching to NTFS. ... certain Windows problems by setting up a DOS environment so that I can ... Windows XP itself. ... does Partition Magic do it? ...
    (microsoft.public.windowsxp.basics)