Re: Checking existence of an NTFS "stream"
- From: Michael Bednarek <ROT13-zo@xxxxxxxxxxxxx>
- Date: Sat, 10 Jun 2006 01:37:04 GMT
On Fri, 9 Jun 2006 16:49:19 +0000 (UTC), (Kenny McCormack) wrote in
comp.os.msdos.4dos:
I have a file "foo", and I want to check to see if foo:somestream[snip]
exists. Generally, I am happy that the 4DOS/TC command language
supports streams and most things more or less work. However, checking
existence is problematic.
Anyway, is there a better method than using CRC32?
Parsing the output of LADS.EXE seems simpler than parsing the output of
DIR /:
$ dir /h /k /m /:
10/06/2006 11:33 0 foo
10,917,094 PistonPacers.WMV:$DATA
10,479 some.txt:$DATA
$ lads
LADS - Freeware version 4.00
(C) Copyright 1998-2004 Frank Heyne Software (http://www.heysoft.de)
This program lists files with alternate data streams (ADS)
Use LADS on your own risk!
Scanning directory C:\Temp\Test\
size ADS in file
---------- ---------------------------------
10917094 C:\Temp\Test\foo:PistonPacers.WMV
10479 C:\Temp\Test\foo:some.txt
10927573 bytes in 2 ADS listed
--
Michael Bednarek http://mbednarek.com/ "POST NO BILLS"
.
- Follow-Ups:
- Re: Checking existence of an NTFS "stream"
- From: Michael Bednarek
- Re: Checking existence of an NTFS "stream"
- References:
- Checking existence of an NTFS "stream"
- From: Kenny McCormack
- Checking existence of an NTFS "stream"
- Prev by Date: Re: Checking existence of an NTFS "stream"
- Next by Date: Re: Checking existence of an NTFS "stream"
- Previous by thread: Re: Checking existence of an NTFS "stream"
- Next by thread: Re: Checking existence of an NTFS "stream"
- Index(es):
Relevant Pages
|