Adding comments to a file in windows explorer.

P

Peter Jason

I have Win7 SP1. How do I add comments to any file in Windows
Explorer. I recall that in Windows XP one could type in any desired
remark and this would then be attached to the file and this could then
be displayed in the Explorer right window.

I can do this for image files, but not for mpg files.

In Win 7 when I get to the "Properties" and go to the "Details" tab,
all the details are locked and there is no way to enter details in the
"comments" dialogue. Is there some way around this, and how much
text can I enter in the 'comments' property. Is there a "memo" like
in Access?
 
V

Vic RR Garcia

I have Win7 SP1. How do I add comments to any file in Windows
Explorer. I recall that in Windows XP one could type in any desired
remark and this would then be attached to the file and this could then
be displayed in the Explorer right window.

I can do this for image files, but not for mpg files.

In Win 7 when I get to the "Properties" and go to the "Details" tab,
all the details are locked and there is no way to enter details in the
"comments" dialogue. Is there some way around this, and how much
text can I enter in the 'comments' property. Is there a "memo" like
in Access?
Try 'Custom', instead of 'Details'.
 
B

BillW50

I have Win7 SP1. How do I add comments to any file in Windows
Explorer. I recall that in Windows XP one could type in any desired
remark and this would then be attached to the file and this could then
be displayed in the Explorer right window.

I can do this for image files, but not for mpg files.

In Win 7 when I get to the "Properties" and go to the "Details" tab,
all the details are locked and there is no way to enter details in the
"comments" dialogue. Is there some way around this, and how much
text can I enter in the 'comments' property. Is there a "memo" like
in Access?
Under Vista and Windows 7, Microsoft controls your computer even if you
are the administrator. Welcome to the club. Who says change is good? :-(
 
R

Rob

I have Win7 SP1. How do I add comments to any file in Windows
Explorer. I recall that in Windows XP one could type in any desired
remark and this would then be attached to the file and this could then
be displayed in the Explorer right window.

I can do this for image files, but not for mpg files.

In Win 7 when I get to the "Properties" and go to the "Details" tab,
all the details are locked and there is no way to enter details in the
"comments" dialogue. Is there some way around this, and how much
text can I enter in the 'comments' property. Is there a "memo" like
in Access?

Maybe you should be using an image editing programme.
 
P

Peter Jason

Maybe you should be using an image editing programme.
No, it works OK for images. Indeed the 'comments' field here can
contain a great deal of text. But I can't do it for mpg movies. Why
wont it work for movies when it works for images?
 
P

Peter Jason

Under Vista and Windows 7, Microsoft controls your computer even if you
are the administrator. Welcome to the club. Who says change is good? :-(
Clearly this is the harbinger of the end of Western Civilization!
 
A

Andy Burns

Peter said:
it works OK for images. Indeed the 'comments' field here can
contain a great deal of text. But I can't do it for mpg movies. Why
wont it work for movies when it works for images?
Some types of file contain a metadata header, others don't, windows
knows how to display and edit metadata from some file, not others.

e.g. you can probably do it it .jpg images, but not to .png images,

windows can't just go poking comments into a .mpg file, without knowing
it won't corrupt the file.
 
V

Vic RR Garcia

There's no 'custom' anywhere in the properties.
Well, you are right, it does NOT show 'custom' for any media file ????

Opening the file in Media Player does not allow to change anything either.
 
P

Paul in Houston TX

Peter said:
I have Win7 SP1. How do I add comments to any file in Windows
Explorer. I recall that in Windows XP one could type in any desired
remark and this would then be attached to the file and this could then
be displayed in the Explorer right window.

I can do this for image files, but not for mpg files.

In Win 7 when I get to the "Properties" and go to the "Details" tab,
all the details are locked and there is no way to enter details in the
"comments" dialogue. Is there some way around this, and how much
text can I enter in the 'comments' property. Is there a "memo" like
in Access?
IIRC, only tiff and jpg use exif data.
 
N

Nil

I have Win7 SP1. How do I add comments to any file in Windows
Explorer. I recall that in Windows XP one could type in any
desired remark and this would then be attached to the file and
this could then be displayed in the Explorer right window.
Are you sure about that? I'm not aware of that capability. Some third-
party utilities can save comments in text files that are associated
with files, but I don't think Windows has any similar built-in feature.
I can do this for image files, but not for mpg files.
OK, I guess it could be done for image files, since they can contain
EXIF and ITPC information tags, but not files in general, as you state.
 
V

VanguardLH

Andy said:
Some types of file contain a metadata header, others don't, windows
knows how to display and edit metadata from some file, not others.

e.g. you can probably do it it .jpg images, but not to .png images,

windows can't just go poking comments into a .mpg file, without knowing
it won't corrupt the file.
In other words, the metadata is *in* the file, not residing outside
floating independently somehwere in the file system. Windows Explorer
can show the metadata for some files but can't edit every filetype's
metadata. That's when you use a 3rd party editor of that filetype to
modify the metadata to values you want.

Windows knows about EXIF data; see http://en.wikipedia.org/wiki/Exif
(see the "Viewing and editing Exif data" section and see the comments
regarding Windows XP). That's only one type of metadata in various file
types.

Not all media files have metadata or it's not very complete; i.e., they
may carry technical metadata (e.g., resolution, duration) but lack
bibliographic metadata. From what I've read, some media files cannot
simply have their metadata edited but instead have to be reencoded with
the new metadata values (i.e., you rebuild the file with the new
metadata). MPEG-7 is supposed to add more metadata.

For a list of which media file types contain metadata, how much or what
type, read the wiki article at:

http://en.wikipedia.org/wiki/Comparison_of_container_formats
 
J

Jeff Layman

I have Win7 SP1. How do I add comments to any file in Windows
Explorer. I recall that in Windows XP one could type in any desired
remark and this would then be attached to the file and this could then
be displayed in the Explorer right window.

I can do this for image files, but not for mpg files.

In Win 7 when I get to the "Properties" and go to the "Details" tab,
all the details are locked and there is no way to enter details in the
"comments" dialogue. Is there some way around this, and how much
text can I enter in the 'comments' property. Is there a "memo" like
in Access?
You can do it with Alternate Data Streams. It's a bit of a rigmarole,
but it can be done. I just added some sample text to a *.mp3 file using
the method shown here under "Creating an AltDS":
http://www.irongeek.com/i.php?page=security/altds

The security implications of AltDS are, to say the least, interesting...
 
V

VanguardLH

Jeff said:
You can do it with Alternate Data Streams. It's a bit of a rigmarole,
but it can be done. I just added some sample text to a *.mp3 file using
the method shown here under "Creating an AltDS":
http://www.irongeek.com/i.php?page=security/altds

The security implications of AltDS are, to say the least, interesting...
One, that requires that you use NTFS as your file system on whatever
hard disk where you store the file(s). Two, you won't be able to
transfer that NTFS data to other hosts when you copy the files because
those ADS for files in one NTFS won't transfer to create an ADS in the
other NTFS file system. Three, most removable media you use to
physically transfer or archive those files (CD/DVD, flash drives) don't
use NTFS so copying the files there will lose the ADS metadata provided
by using NTFS. It is a local-only solution with the caveat that you
copy/move the files with ADS to somewhere within that same file system
in that instance of Windows.

ADS has been around 1992 since NT3.1 ever since NTFS was introduced but
Microsoft has never provided any bundled tools in Windows to let users
easily see and modify them. However, there have long been ADS tools
available and most anti-virus programs began scanning ADS since around
2002, if not earlier.

http://en.wikipedia.org/wiki/NTFS#Alternate_data_streams_.28ADS.29

You could have a .txt file that was normally only 5KB in size (number of
bytes for the file, not how much disk space it consumed) but have an ADS
that was 100MB in size that carried a video or malicious code. One
malware used ADS to consume users' hard disks by attaching large ADS to
files. The user couldn't see where all their disk space was getting
consumed. As for malicious code, yeah, it's sitting there in an ADS
(and AV programs scan there) but some parent process had to first load
that then read the ADS so the AV really needed to target identifying the
parent malware. Malicious code can reside in an ADS but something else
has to load and pass control to it.

Having the user append an ADS to their media file means its content
won't be in any standard format that anyone else can read. Even the OP
will have problems with this scheme if not thoroughly planned out since
later the OP may not know what the data means in that ADS that he has to
manually extract from the file.
 
D

Dave \Crash\ Dummy

Peter said:
I have Win7 SP1. How do I add comments to any file in Windows
Explorer. I recall that in Windows XP one could type in any desired
remark and this would then be attached to the file and this could
then be displayed in the Explorer right window.

I can do this for image files, but not for mpg files.

In Win 7 when I get to the "Properties" and go to the "Details" tab,
all the details are locked and there is no way to enter details in
the "comments" dialogue. Is there some way around this, and how
much text can I enter in the 'comments' property. Is there a "memo"
like in Access?
What properties are available and whether or not you can change them
varies from file type to file type, even variations of the same general
type of file. For example, you can add or change a comment for a JPG
image file but not for a PNG image file.

For detailed information on how to change property values for a file,
open Start>Help and Support and search for "File properties." Select
item 1 from the results, "Change the properties for a file."
 
T

Tim Slattery

Peter Jason said:
I have Win7 SP1. How do I add comments to any file in Windows
Explorer. I recall that in Windows XP one could type in any desired
remark and this would then be attached to the file and this could then
be displayed in the Explorer right window.
Many files, such as images, media files, Office files, have places in
the file format to store this kind of information. For other files,
WinXP used NTFS alternate streams to store these things. But MS
dropped that when they brought out Vista.
 
J

Jeff Layman

One, that requires that you use NTFS as your file system on whatever
hard disk where you store the file(s).
I doubt that many users of Win7 are using FAT32.

Two, you won't be able to
transfer that NTFS data to other hosts when you copy the files because
those ADS for files in one NTFS won't transfer to create an ADS in the
other NTFS file system.
Are you saying that it is not possible to copy a file containing an ADS
to an external NTFS-formatted drive and retain the ADS? I haven't been
able to find that info - have you a ref for it? If true, what would be
the point of "infecting" a file via ADS with *.exe malware if it
couldn't be copied from, eg, an internet server to a home computer?

Three, most removable media you use to
physically transfer or archive those files (CD/DVD, flash drives) don't
use NTFS so copying the files there will lose the ADS metadata provided
by using NTFS. It is a local-only solution with the caveat that you
copy/move the files with ADS to somewhere within that same file system
in that instance of Windows.
The OP just wanted some way to store information with his mpg files.
ADS can do that.
ADS has been around 1992 since NT3.1 ever since NTFS was introduced but
Microsoft has never provided any bundled tools in Windows to let users
easily see and modify them. However, there have long been ADS tools
available and most anti-virus programs began scanning ADS since around
2002, if not earlier.

http://en.wikipedia.org/wiki/NTFS#Alternate_data_streams_.28ADS.29

You could have a .txt file that was normally only 5KB in size (number of
bytes for the file, not how much disk space it consumed) but have an ADS
that was 100MB in size that carried a video or malicious code. One
malware used ADS to consume users' hard disks by attaching large ADS to
files. The user couldn't see where all their disk space was getting
consumed. As for malicious code, yeah, it's sitting there in an ADS
(and AV programs scan there) but some parent process had to first load
that then read the ADS so the AV really needed to target identifying the
parent malware. Malicious code can reside in an ADS but something else
has to load and pass control to it.
I agree with you. I guess the best way to get round the problem is to
copy the file to a FAT32 disk, which would strip off any ADS from the
file, then copy the file back to your NTFS disk.
Having the user append an ADS to their media file means its content
won't be in any standard format that anyone else can read. Even the OP
will have problems with this scheme if not thoroughly planned out since
later the OP may not know what the data means in that ADS that he has to
manually extract from the file.
Not sure what you mean by this. I would assume that the OP would name
the ADS file in the same way any normal file would be named. Even if
the ADS file name had been forgotten, use of something like LADS would
reveal it.
 
G

Gene E. Bloch

What properties are available and whether or not you can change them
varies from file type to file type, even variations of the same general
type of file. For example, you can add or change a comment for a JPG
image file but not for a PNG image file.
For detailed information on how to change property values for a file,
open Start>Help and Support and search for "File properties." Select
item 1 from the results, "Change the properties for a file."
I guess I *was* born yesterday!

That was (1) new to me, and (2) possibly even useful.

Muchas Thanks.
 
V

VanguardLH

Jeff said:
I doubt that many users of Win7 are using FAT32.
What file system does the CD/DVD media use?
What file system does the USB thumb/flash drive typically use?
If you use online storage, how did you transport the file to there?
Are you saying that it is not possible to copy a file containing an ADS
to an external NTFS-formatted drive and retain the ADS? I haven't been
able to find that info - have you a ref for it? If true, what would be
the point of "infecting" a file via ADS with *.exe malware if it
couldn't be copied from, eg, an internet server to a home computer?
I badly stated what I meant to say. Forks in a file system (aka ADS for
NTFS) often don't survive transport of the forked file. You have to be
careful regarding transport of the file between file systems and hosts
to ensure survival of the forked content (the alternate data stream).
Transport to a file system that doesn't support forked files results in
stripping or separation of the forked content. Zipping the file into an
..zip archive file will strip out the forked content. I haven't tested
FTP but suspect that will strip the forked content as the '[m]get'
command probably only gets the primary stream.

The malware or its installer, when ran, can hide some of its code in an
ADS. If your security software doesn't scan the ADS of files, it may
miss its signature for the code stored there. However, that also means
the security software missed the parent process that executed to then
store some code in an ADS. It's not just malicious code that gets
hidden in an ADS. In the past, there have been trojans whose function
was to disable your computer buy consuming all its disk space which it
did by appending huge randomly generated bytes in the ADS onto many
files. Even if you deleted the malware, its effect remained in place
with all the disk consumption for the ADS. I don't know how much
malware utilitizes the ADS and if they mostly use it to store code
(which still requires a parent process to load which means being
susceptible to detection by security software now or later) or if they
mostly use it to bloat file sizes that are invisible to the user with
the normal tools provided in Windows to consume the disk. I've seen
only a couple cases where code was stored in the ADS but seen more of
the bloated file cases.

I've also seen an anti-virus program (Kaspersky) that uses the ADS.
They would scan a file and then save some hash value (checksum) in the
ADS. On subsequent AV scans, the ADS content was used to determined if
the file had been modified and, if not, would skip that file since it
hasn't changed and has already been scanned. This was their "smart"
scan that would bypass previously scanned files.

http://www.kaspersky.com/news?id=177718126
"Kaspersky Anti-Virus products use NTFS Alternate Data Streams to hold
checksum data about files on the user's system: if a checksum remains
unchanged from one scan to another, Kaspersky Lab's products know the
file has not been tampered with and do not, therefore, require a repeat
scan."

That article was dated 6 years ago so I don't know if Kaspersky is still
using ADS to store its checksums to short-circuit later scans.
The OP just wanted some way to store information with his mpg files.
ADS can do that.
Yes, ADS is "some way". It's not a good stable way except within the
same file system on a host. Files that carry along their own metadata
do that for a reason: the metadata remains intact *in* the file no
matter where the file gets copied.

After over a decade of availability of NTFS with its ADS feature (to
support forked file content), Microsoft still fails to provide an easy
means for users to see if there is an alternate data stream on a file
and what it contains. Windows Explorer has yet to even indicate there
is a non-empty ADS attached to a file.
I agree with you. I guess the best way to get round the problem is to
copy the file to a FAT32 disk, which would strip off any ADS from the
file, then copy the file back to your NTFS disk.
But if you know about ADS (which is required for you to doing the
"strip" by copying between different file systems) then you also know
there are 3rd party tools to manage the ADS. Rather than produce a 2nd
generation copy of a file to get rid of its ADS, use a tool to just
strip the ADS without touching the primary stream.
Not sure what you mean by this. I would assume that the OP would name
the ADS file in the same way any normal file would be named. Even if
the ADS file name had been forgotten, use of something like LADS would
reveal it.
The OP would have to design some template for the data he stores in the
ADS for all his media files. Then there be a uniform layout to that
data so it is recognizable every time he looks at the ADS for each file.
He could make it free-format but he will have to read it himself versus
using it to monitor or control his media files.

Plus the OP will need to provide a means of editing the file, attaching
it as an ADS, and then later extracting the ADS and open in the editor
again. Yes, that can be done but it isn't a simple setup. It certainly
won't be any information that the OP will see as a column in Windows
Explorer or as data presented in the Properties sheet for a file (but
then not all metadata can be presented there, anyway).

For EXIF, there are many 3rd party viewers that can be easily used to
view the metadata. I haven't bothered to investigate if there is an
all-in-one metadata viewer that will show metadata for all filetypes
(that support metadata). It also appears the OP wants to edit the
metadata. For some filetypes, editing is easy but for some a change in
metadata means reencoding the file. The MPG files the OP asked about
don't have metadata in them.

I have seen programs that provide additional info on files. They run as
a background process. For a file, you use this other software to add
notes or comments for the file. Then later you can review those notes.
Alas, I've never bothered to use such file tracking software to add
comments to them so someone else would have to comment on such software.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top