Notepad and KiXtart can create and access NTFS streams. Notepad must do it from the commandline.
Create a file with notepad.exe called "test.txt". add some text and save.
Then use the line below to create a stream. Add some text and save.
Check your directory there will be only test.txt. Reopen the file and the stream with notepad to verify their existence.
code:
notepad test.txt:stream1.txt
Now run this code with KiXtart.
KiXtart 4.02 can read streams. code:
IF Open(3, "c:\data\scripts\test.txt:stream1.txt") = 0
$x = ReadLine(3)
WHILE @ERROR = 0
? "Line read: [" + $x + "]"
$x = ReadLine(3)
LOOP
ENDIF
[ 19. July 2003, 22:18: Message edited by: Howard Bullock ]