Select the product you need help with
How To Use NTFS Alternate Data StreamsArticle ID: 105763 - View products that this article applies to. This article was previously published under Q105763 On This PageSUMMARY
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.
The Windows NT Resource Kit documents the stream syntax as follows:
filename:stream
Alternate 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 INFORMATION
The following sample code demonstrates NTFS streams:
Sample Code
type testfile
produces the following:
This is testfile
type testfile:stream
produces the following:
The filename syntax is incorrect
more < testfile:stream
-or-
mep testfile:stream
where "mep" is the Microsoft Editor available in the Platform SDK.
PropertiesArticle ID: 105763 - Last Review: November 21, 2006 - Revision: 4.2 APPLIES TO
| Article Translations
|


Back to the top








