Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista File Management > Tag only some file types

Reply
Thread Tools Display Modes

Tag only some file types

 
 
Phillip
Guest
Posts: n/a

 
      01-17-2007
Was disappointed to read TXT files cannot be tagged.
Guess I'll not be able to tag many of the files I wanted to
e.g. html, vbs, bat. (still waiting for vista upgrade)

Is there a list of common file types that can and can't be tagged?
Searched Google but found nothing.



 
Reply With Quote
 
 
 
 
Daniel Noll
Guest
Posts: n/a

 
      03-29-2007
Phillip wrote:
> Was disappointed to read TXT files cannot be tagged.
> Guess I'll not be able to tag many of the files I wanted to
> e.g. html, vbs, bat. (still waiting for vista upgrade)
>
> Is there a list of common file types that can and can't be tagged?
> Searched Google but found nothing.


This annoys me too. Under XP we used to be able to add metadata to any
file, even text files. Something like that might even make the search
functionality useful, as it would allow you to search by tag on
arbitrary files.

Daniel

 
Reply With Quote
 
cquirke (MVP Windows shell/user)
Guest
Posts: n/a

 
      03-29-2007
On Thu, 29 Mar 2007 16:52:57 +1000, Daniel Noll <>
>Phillip wrote:


>> Was disappointed to read TXT files cannot be tagged.
>> Guess I'll not be able to tag many of the files I wanted to
>> e.g. html, vbs, bat. (still waiting for vista upgrade)


>> Is there a list of common file types that can and can't be tagged?
>> Searched Google but found nothing.


>This annoys me too. Under XP we used to be able to add metadata to any
>file, even text files. Something like that might even make the search
>functionality useful, as it would allow you to search by tag on
>arbitrary files.


Depends where the tags go, I guess - some file formats contain tag
fields, whereas with text, every part of the file is content.

So, to tag a text file without botching the content or breaking its
text "purity", it would have to write to an ADS, add a companion file
(e.g. the way .PIF hold properties for DOS apps) or store it in some
sort of database - all of which are ugly, for various reasons.



>------------ ----- ---- --- -- - - - -

The most accurate diagnostic instrument
in medicine is the Retrospectoscope
>------------ ----- ---- --- -- - - - -

 
Reply With Quote
 
Daniel Noll
Guest
Posts: n/a

 
      04-02-2007
cquirke (MVP Windows shell/user) wrote:
>> This annoys me too. Under XP we used to be able to add metadata to any
>> file, even text files. Something like that might even make the search
>> functionality useful, as it would allow you to search by tag on
>> arbitrary files.

>
> Depends where the tags go, I guess - some file formats contain tag
> fields, whereas with text, every part of the file is content.
>
> So, to tag a text file without botching the content or breaking its
> text "purity", it would have to write to an ADS, add a companion file
> (e.g. the way .PIF hold properties for DOS apps) or store it in some
> sort of database - all of which are ugly, for various reasons.


Ugly, yes... but it's the way it was done in XP -- an ADS was
constructed containing the metadata. So now we have all these streams
containing metadata which Vista can't even access.

The nice thing about it using ADS is that it worked silently via Samba
-- it would just create a file on the other end with the colon and the
stream name. Nice and easy to back up. :-)

Daniel

 
Reply With Quote
 
cquirke (MVP Windows shell/user)
Guest
Posts: n/a

 
      04-02-2007
On Mon, 02 Apr 2007 15:33:57 +1000, Daniel Noll <>
>cquirke (MVP Windows shell/user) wrote:


>>> This annoys me too. Under XP we used to be able to add metadata to any
>>> file, even text files. Something like that might even make the search
>>> functionality useful, as it would allow you to search by tag on
>>> arbitrary files.

>>
>> Depends where the tags go, I guess - some file formats contain tag
>> fields, whereas with text, every part of the file is content.
>>
>> So, to tag a text file without botching the content or breaking its
>> text "purity", it would have to write to an ADS, add a companion file
>> (e.g. the way .PIF hold properties for DOS apps) or store it in some
>> sort of database - all of which are ugly, for various reasons.

>
>Ugly, yes... but it's the way it was done in XP -- an ADS was
>constructed containing the metadata. So now we have all these streams
>containing metadata which Vista can't even access.


Vista can access ADS; whether it was written to do so is another
thing. There are very good reasons to leave ADS alone.

>The nice thing about it using ADS is that it worked silently via Samba
>-- it would just create a file on the other end with the colon and the
>stream name. Nice and easy to back up. :-)


ADS are a death-trap, because:
- the UI doesn't show them, so you have no control over them
- they can be automated as easily as via a batch file
- MS will happily run code hidden in them, by design
- code in an ADS takes the file name of the host file
- so Ctl+Alt+Del lists only the host file, not the ADS
- so firewalls checking only the host file, let ADS pass through
- most off-NTFS transfers strip the ADS, so...
- ...submitting ADS samples to av vendors is difficult

MS could have prevented code from running from an ADS, or filtered ADS
input to ensure only text was permitted, or provided a UI for ADS, or
done all of these risk-aware, clueful things. They did none of them.

Who needs a rootkit, when content within ADS is invvisible, by design?

The cure for ADS is FATxx ;-)


>-- Risk Management is the clue that asks:

"Why do I keep open buckets of petrol next to all the
ashtrays in the lounge, when I don't even have a car?"
>----------------------- ------ ---- --- -- - - - -

 
Reply With Quote
 
Guest
Posts: n/a

 
      04-03-2007
Weong. ADS is built into OLE Compound files. So Doc, Xls, Mdb, Pps, et al
all support this. Technically it isn't an ADS as OLE files have a file
system built in. ADS replicates for non OLE files what OLE files have. So
Fat is no protection. Just put an ole file on disk with whatever you want in
the PLE file as a file (ole files are a file system, sub directories etc -
the file system merely resides in a single file).
"cquirke (MVP Windows shell/user)" <> wrote in
message news:...
> On Mon, 02 Apr 2007 15:33:57 +1000, Daniel Noll <>
>>cquirke (MVP Windows shell/user) wrote:

>
>>>> This annoys me too. Under XP we used to be able to add metadata to any
>>>> file, even text files. Something like that might even make the search
>>>> functionality useful, as it would allow you to search by tag on
>>>> arbitrary files.
>>>
>>> Depends where the tags go, I guess - some file formats contain tag
>>> fields, whereas with text, every part of the file is content.
>>>
>>> So, to tag a text file without botching the content or breaking its
>>> text "purity", it would have to write to an ADS, add a companion file
>>> (e.g. the way .PIF hold properties for DOS apps) or store it in some
>>> sort of database - all of which are ugly, for various reasons.

>>
>>Ugly, yes... but it's the way it was done in XP -- an ADS was
>>constructed containing the metadata. So now we have all these streams
>>containing metadata which Vista can't even access.

>
> Vista can access ADS; whether it was written to do so is another
> thing. There are very good reasons to leave ADS alone.
>
>>The nice thing about it using ADS is that it worked silently via Samba
>>-- it would just create a file on the other end with the colon and the
>>stream name. Nice and easy to back up. :-)

>
> ADS are a death-trap, because:
> - the UI doesn't show them, so you have no control over them
> - they can be automated as easily as via a batch file
> - MS will happily run code hidden in them, by design
> - code in an ADS takes the file name of the host file
> - so Ctl+Alt+Del lists only the host file, not the ADS
> - so firewalls checking only the host file, let ADS pass through
> - most off-NTFS transfers strip the ADS, so...
> - ...submitting ADS samples to av vendors is difficult
>
> MS could have prevented code from running from an ADS, or filtered ADS
> input to ensure only text was permitted, or provided a UI for ADS, or
> done all of these risk-aware, clueful things. They did none of them.
>
> Who needs a rootkit, when content within ADS is invvisible, by design?
>
> The cure for ADS is FATxx ;-)
>
>
>>-- Risk Management is the clue that asks:

> "Why do I keep open buckets of petrol next to all the
> ashtrays in the lounge, when I don't even have a car?"
>>----------------------- ------ ---- --- -- - - - -


 
Reply With Quote
 
Guest
Posts: n/a

 
      04-03-2007
Plus OLE is used by default by the shell if no registered file type for a
file. And OLE is used by default for OLE files by programs opening files via
OLE.
<.> wrote in message news:...
> Weong. ADS is built into OLE Compound files. So Doc, Xls, Mdb, Pps, et al
> all support this. Technically it isn't an ADS as OLE files have a file
> system built in. ADS replicates for non OLE files what OLE files have. So
> Fat is no protection. Just put an ole file on disk with whatever you want
> in the PLE file as a file (ole files are a file system, sub directories
> etc - the file system merely resides in a single file).
> "cquirke (MVP Windows shell/user)" <> wrote in
> message news:...
>> On Mon, 02 Apr 2007 15:33:57 +1000, Daniel Noll <>
>>>cquirke (MVP Windows shell/user) wrote:

>>
>>>>> This annoys me too. Under XP we used to be able to add metadata to
>>>>> any
>>>>> file, even text files. Something like that might even make the search
>>>>> functionality useful, as it would allow you to search by tag on
>>>>> arbitrary files.
>>>>
>>>> Depends where the tags go, I guess - some file formats contain tag
>>>> fields, whereas with text, every part of the file is content.
>>>>
>>>> So, to tag a text file without botching the content or breaking its
>>>> text "purity", it would have to write to an ADS, add a companion file
>>>> (e.g. the way .PIF hold properties for DOS apps) or store it in some
>>>> sort of database - all of which are ugly, for various reasons.
>>>
>>>Ugly, yes... but it's the way it was done in XP -- an ADS was
>>>constructed containing the metadata. So now we have all these streams
>>>containing metadata which Vista can't even access.

>>
>> Vista can access ADS; whether it was written to do so is another
>> thing. There are very good reasons to leave ADS alone.
>>
>>>The nice thing about it using ADS is that it worked silently via Samba
>>>-- it would just create a file on the other end with the colon and the
>>>stream name. Nice and easy to back up. :-)

>>
>> ADS are a death-trap, because:
>> - the UI doesn't show them, so you have no control over them
>> - they can be automated as easily as via a batch file
>> - MS will happily run code hidden in them, by design
>> - code in an ADS takes the file name of the host file
>> - so Ctl+Alt+Del lists only the host file, not the ADS
>> - so firewalls checking only the host file, let ADS pass through
>> - most off-NTFS transfers strip the ADS, so...
>> - ...submitting ADS samples to av vendors is difficult
>>
>> MS could have prevented code from running from an ADS, or filtered ADS
>> input to ensure only text was permitted, or provided a UI for ADS, or
>> done all of these risk-aware, clueful things. They did none of them.
>>
>> Who needs a rootkit, when content within ADS is invvisible, by design?
>>
>> The cure for ADS is FATxx ;-)
>>
>>
>>>-- Risk Management is the clue that asks:

>> "Why do I keep open buckets of petrol next to all the
>> ashtrays in the lounge, when I don't even have a car?"
>>>----------------------- ------ ---- --- -- - - - -

>


 
Reply With Quote
 
Daniel Noll
Guest
Posts: n/a

 
      04-05-2007
cquirke (MVP Windows shell/user) wrote:
> ADS are a death-trap, because:
> - the UI doesn't show them, so you have no control over them


XP used to have this UI to modify the metadata, Vista removed it. This
is basically what I've been complaining about.

The UI in XP was useful: if the document happened to be a real OLE2
document it showed you the summary information from inside the OLE2
filesystem. If it wasn't an OLE2 document (e.g. if it was a text file)
then it showed the summary information from the ADS. The upshot is that
ultimately any file can have things like an Author set. You can kiss
that functionality goodbye in Vista (it won't even let you view the
metadata you already spent ages painstakingly creating under XP.)

> MS could have prevented code from running from an ADS, or filtered ADS
> input to ensure only text was permitted, or provided a UI for ADS, or
> done all of these risk-aware, clueful things. They did none of them.


This is all true but completely irrelevant to the topic of discussion,
which is regarding the (prior) use of ADS to store METADATA, not
arbitrary executable crap.

Daniel

 
Reply With Quote
 
Guest
Posts: n/a

 
      04-05-2007
I don't have any to test. Is it shown in Explorer's columns.
"Daniel Noll" <> wrote in message
news:...
> cquirke (MVP Windows shell/user) wrote:
>> ADS are a death-trap, because:
>> - the UI doesn't show them, so you have no control over them

>
> XP used to have this UI to modify the metadata, Vista removed it. This is
> basically what I've been complaining about.
>
> The UI in XP was useful: if the document happened to be a real OLE2
> document it showed you the summary information from inside the OLE2
> filesystem. If it wasn't an OLE2 document (e.g. if it was a text file)
> then it showed the summary information from the ADS. The upshot is that
> ultimately any file can have things like an Author set. You can kiss that
> functionality goodbye in Vista (it won't even let you view the metadata
> you already spent ages painstakingly creating under XP.)
>
>> MS could have prevented code from running from an ADS, or filtered ADS
>> input to ensure only text was permitted, or provided a UI for ADS, or
>> done all of these risk-aware, clueful things. They did none of them.

>
> This is all true but completely irrelevant to the topic of discussion,
> which is regarding the (prior) use of ADS to store METADATA, not arbitrary
> executable crap.
>
> Daniel
>


 
Reply With Quote
 
Guest
Posts: n/a

 
      04-05-2007
Right click a MSI file (Windows Installer file) and choose Properties. I'm
not sure if it is an ADS or an Installer metadata editor. I research it one
day and know.
"Daniel Noll" <> wrote in message
news:...
> cquirke (MVP Windows shell/user) wrote:
>>> This annoys me too. Under XP we used to be able to add metadata to any
>>> file, even text files. Something like that might even make the search
>>> functionality useful, as it would allow you to search by tag on
>>> arbitrary files.

>>
>> Depends where the tags go, I guess - some file formats contain tag
>> fields, whereas with text, every part of the file is content.
>>
>> So, to tag a text file without botching the content or breaking its
>> text "purity", it would have to write to an ADS, add a companion file
>> (e.g. the way .PIF hold properties for DOS apps) or store it in some
>> sort of database - all of which are ugly, for various reasons.

>
> Ugly, yes... but it's the way it was done in XP -- an ADS was constructed
> containing the metadata. So now we have all these streams containing
> metadata which Vista can't even access.
>
> The nice thing about it using ADS is that it worked silently via Samba --
> it would just create a file on the other end with the colon and the stream
> name. Nice and easy to back up. :-)
>
> Daniel
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
associated file types Petey Windows Vista Performance 3 02-10-2008 05:49 PM
File types Ernie Lane Windows Vista General Discussion 4 10-18-2007 04:25 AM
File Types David C Windows Vista General Discussion 3 08-09-2007 06:41 AM
File Types Teamhrc Windows Vista General Discussion 4 07-17-2006 07:18 AM
File Types Teamhrc Windows Vista General Discussion 0 07-07-2006 07:41 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59