See http://www.jsoftware.com/jwiki/Scripts/Streams for one way to list streams.

--
David Mitchell

Don Guinn wrote:
Weird! I used Windows to rename test.txt and it renamed them all. Haven't
tried deleting yet, but it sure looks like a good way to hide files. I
wonder if it would be possible for 1!:0 to list those files like test.txt:a?
That would give full support. Otherwise, those files could be around and no
way to find them.

On Thu, May 1, 2008 at 5:59 AM, Oleg Kobchenko <[EMAIL PROTECTED]> wrote:

File streamns in NTFS
  http://msdn.microsoft.com/en-us/library/aa364404.aspx
is the ability to store more that one file image
under the same name. Eg used by NT to store the
extended Properties as seen in last tab of file
properties in Explorer (if you wondered where that
thing goes).

And J supports them

  load'files'
  'test'fwrite jpath'~temp/test.txt'
4
  'abc'fwrite jpath'~temp/test.txt:a'
3
  '123'fwrite jpath'~temp/test.txt:b'
3
  fread jpath'~temp/test.txt'
test
  fread jpath'~temp/test.txt:a'
abc
  fread jpath'~temp/test.txt:b'
123
  load'dir'
  dir jpath'~temp'
jbreak     <dir>     01-May-08 07:37:16
1.ijx            583 28-Apr-08 02:10:38
fif.htm         3821 30-Apr-08 01:55:58
test.txt           4 01-May-08 07:38:03

See--only one file "test.txt".




 
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile.  Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to