The information in this article applies to:
SUMMARY
The documentation for the NTFS file system states that NTFS supports
multiple streams of data; however, the documentation does not address
the syntax for the streams themselves.
filename:streamAlternate data streams are strictly a feature of the NTFS file system and may not be supported in future file systems. However, NTFS will be supported in future versions of Windows NT. Future file systems will support a model based on OLE 2.0 structured storage (IStream and IStorage). By using OLE 2.0, an application can support multiple streams on any file system and all supported operating systems (Windows, Macintosh, Windows NT, and Win32s), not just Windows NT. MORE INFORMATIONThe following sample code demonstrates NTFS streams: Sample Code
The file size obtained in a directory listing is 16, because you are
looking only at "testfile", and therefore
type testfileproduces the following:
However
type testfile:streamproduces the following:
In order to view what is in testfile:stream, use:
more < testfile:stream -or- mep testfile:streamwhere "mep" is the Microsoft Editor available in the Platform SDK. Additional query words:
Keywords : kbAPI kbFileIO kbKernBase kbWinOS2000 kbDSupport kbGrpKernBase |
Last Reviewed: December 30, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |