Deleting streams

samintz

Scott Mintz
May 20, 2008
1,272
11
Solon, OH, USA
#1
I have an entire directory of files that got created from a ZIP file I
downloaded that all have streams named "Zone.Identifier:$DATA".

I can see the streams using DIR /:, however I cannot type nor delete
them. I get errors similar to the following:
TCC: Stream not found "DATA.TAG:Zone.Identifier:$DATA"

I can remove the streams using Explorer by right-clicking on each file,
selecting Properties and clicking the Unblock button. However, that is a
pain as I cannot do the entire directory at once.

How can I do this from TCC?

This does not work:
do fn in * (del /z %fn:Zone.Identifier:$DATA)

-Scott
 
#2
You do not need the :$DATA suffix:


D:\test>*dir /h /k /m /:
2011-01-04 13:39 5 file1.txt
5 Zone.Identifier:$DATA
2011-01-04 13:39 5 file2.txt
5 Zone.Identifier:$DATA
2011-01-04 13:39 5 file3.txt
5 Zone.Identifier:$DATA

D:\test>do fn in * (del /z %fn:Zone.Identifier)
Deleting D:\test\file1.txt:Zone.Identifier
1 file deleted
Deleting D:\test\file2.txt:Zone.Identifier
1 file deleted
Deleting D:\test\file3.txt:Zone.Identifier
1 file deleted

D:\test>*dir /h /k /m /:
2011-01-04 13:39 5 file1.txt
2011-01-04 13:39 5 file2.txt
2011-01-04 13:39 5 file3.txt


On Tue, Jan 4, 2011 at 12:52, samintz <> wrote:


> I have an entire directory of files that got created from a ZIP file I
> downloaded that all have streams named "Zone.Identifier:$DATA".
>
> I can see the streams using DIR /:, however I cannot type nor delete
> them. I get errors similar to the following:
> TCC: Stream not found "DATA.TAG:Zone.Identifier:$DATA"
>
> I can remove the streams using Explorer by right-clicking on each file,
> selecting Properties and clicking the Unblock button. However, that is a
> pain as I cannot do the entire directory at once.
>
> How can I do this from TCC?
>
> This does not work:
> do fn in * (del /z %fn:Zone.Identifier:$DATA)
>
> -Scott
>
>
>
>
>
>
>


--
Jim Cook
2010 Sundays: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
Next year they're Monday.
 

samintz

Scott Mintz
May 20, 2008
1,272
11
Solon, OH, USA
#3
Cool! Thanks. Any idea why?
-Scott

Jim Cook <> wrote on 01/04/2011 04:50:37 PM:


> You do not need the :$DATA suffix:
>
>
> D:\test>*dir /h /k /m /:
> 2011-01-04 13:39 5 file1.txt
> 5 Zone.Identifier:$DATA
> 2011-01-04 13:39 5 file2.txt
> 5 Zone.Identifier:$DATA
> 2011-01-04 13:39 5 file3.txt
> 5 Zone.Identifier:$DATA
>
> D:\test>do fn in * (del /z %fn:Zone.Identifier)
> Deleting D:\test\file1.txt:Zone.Identifier
> 1 file deleted
> Deleting D:\test\file2.txt:Zone.Identifier
> 1 file deleted
> Deleting D:\test\file3.txt:Zone.Identifier
> 1 file deleted
>
> D:\test>*dir /h /k /m /:
> 2011-01-04 13:39 5 file1.txt
> 2011-01-04 13:39 5 file2.txt
> 2011-01-04 13:39 5 file3.txt
>
>
> On Tue, Jan 4, 2011 at 12:52, samintz <> wrote:
>
>
>
> ---Quote---
> > I have an entire directory of files that got created from a ZIP file I
> > downloaded that all have streams named "Zone.Identifier:$DATA".
> >
> > I can see the streams using DIR /:, however I cannot type nor delete
> > them. I get errors similar to the following:
> > TCC: Stream not found "DATA.TAG:Zone.Identifier:$DATA"
> >
> > I can remove the streams using Explorer by right-clicking on each
file,

> > selecting Properties and clicking the Unblock button. However, that
is a

> > pain as I cannot do the entire directory at once.
> >
> > How can I do this from TCC?
> >
> > This does not work:
> > do fn in * (del /z %fn:Zone.Identifier:$DATA)
> >
> > -Scott
> >
> >
> >
> >
> >
> >
> >
> ---End Quote---
>
>
> --
> Jim Cook
> 2010 Sundays: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
> Next year they're Monday.
>
>
>
>