The information in this article applies to:
SUMMARY
Windows NT, versions 3.5, 3.51, and 4.0 have the ability to create or open
files with long filenames (LFN) on Windows NT file allocation table (FAT)
partitions.
MORE INFORMATION
The LFNs are not available from the MS-DOS DIR command, but they are
available from the Windows NT DIR command. When you create an LFN on a
Windows NT FAT partition, an accompanying short name is created just as
on an NTFS partition. You can access the file or directory with either
the long names or the short names under Windows NT.
longfilename.fatThis is exactly how the filename appears when you run the DIR command from the Windows NT command prompt. However, when you boot the machine into MS- DOS and run the DIR command, the filename appears as follows: longfi~1.fatNOTE: NTFS partitions are not available under MS-DOS, so you cannot perform this experiment using an NTFS partition. The same result can also be achieved programmatically. Build and run the following sample code on Windows NT: Sample Code
The first message box will read:
The second message box will read:
Additional query words:
Keywords : kbAPI kbFileIO kbKernBase kbWinOS2000 kbDSupport kbGrpKernBase |
Last Reviewed: January 5, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |