1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Deleting streams

Discussion in 'Support' started by samintz, Jan 4, 2011.

  1. samintz

    samintz Scott Mintz

    Joined:
    May 20, 2008
    Messages:
    1,188
    Likes Received:
    11
    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. Jim Cook

    Joined:
    May 20, 2008
    Messages:
    605
    Likes Received:
    0
    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:




    --
    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.
     
  3. samintz

    samintz Scott Mintz

    Joined:
    May 20, 2008
    Messages:
    1,188
    Likes Received:
    11
    Cool! Thanks. Any idea why?
    -Scott

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


    file,

    is a

     

Share This Page