File properities on Win2k
-
Running Explorer under Win2k, you can find some additional information on most files, like Title, Author, Comments and so on. Does anyone know where this information is stored? I try to find out if this is a property of ntfs or Windows, and if information is conserved when transfered to another computer... Thanks. /moliate
-
Running Explorer under Win2k, you can find some additional information on most files, like Title, Author, Comments and so on. Does anyone know where this information is stored? I try to find out if this is a property of ntfs or Windows, and if information is conserved when transfered to another computer... Thanks. /moliate
Which files? I'm familiar with that information in Office document files such as .DOC and .XLS. In this case the information is contained in the files themselves and will be transferred from one computer to another. Michael :-)
-
Which files? I'm familiar with that information in Office document files such as .DOC and .XLS. In this case the information is contained in the files themselves and will be transferred from one computer to another. Michael :-)
When I right-click on any file, choose Properities, select the propertytab Summary, I find some fields where I can enter data. This data is preserved if the file is copied or moved, and don't change the content of the file. Was just wondering how this was done. :confused: BTW, I don't have an English version of Win2k, so the names I used above might be a bit garbled through translation.. /moliate
-
Running Explorer under Win2k, you can find some additional information on most files, like Title, Author, Comments and so on. Does anyone know where this information is stored? I try to find out if this is a property of ntfs or Windows, and if information is conserved when transfered to another computer... Thanks. /moliate
That info is stored in the file itself, using a second stream. Streams are supported on NTFS only, so as long as the file stays on NTFS volumes, the info will be preserved. --Mike-- http://home.inreach.com/mdunn/ Help! Help! I'm being repressed!! :love: your :bob: with :vegemite: and :beer: Sonork - 100.10414 AcidHelm
-
That info is stored in the file itself, using a second stream. Streams are supported on NTFS only, so as long as the file stays on NTFS volumes, the info will be preserved. --Mike-- http://home.inreach.com/mdunn/ Help! Help! I'm being repressed!! :love: your :bob: with :vegemite: and :beer: Sonork - 100.10414 AcidHelm
Thanks for the reply! It helped me to search around a bit to find some more info. One thought bugs me though - wouldn't this feature make it easier to hide viruses? X| How could I find all the named streams contained in a file? Is there a tool to do this? I doesn't seem like the Windows API has direct support for named streams.. /moliate
-
Thanks for the reply! It helped me to search around a bit to find some more info. One thought bugs me though - wouldn't this feature make it easier to hide viruses? X| How could I find all the named streams contained in a file? Is there a tool to do this? I doesn't seem like the Windows API has direct support for named streams.. /moliate
Tell me if I am barking up the wrong tree here. But with the advent of COM and OLE and stuff like that - they created a new file format called the "DOCFILE". A DOCFILE is a filesystem within a file containing storages (like a directory) and streams (like a file). To use these, you need to start looking at the COM class IStorage. This properties information you are looking for is contained within a stream in the root of the file. I don't recall the name or the format of the file, but it's there... -p P.S. This is not supported on NT or NTFS only. This is in all COM supporting versions of windows.
-
Thanks for the reply! It helped me to search around a bit to find some more info. One thought bugs me though - wouldn't this feature make it easier to hide viruses? X| How could I find all the named streams contained in a file? Is there a tool to do this? I doesn't seem like the Windows API has direct support for named streams.. /moliate
Not so much viruses, but you can hide data, that will not appear in the files size. A file can have a length of 0 bytes but could contain data in one of the other streams, which would not show up. I remember a freind doing a course on Win 2000 admin, and this police guys face went pale when the tutor showed them how to hide data in this way. Giles
-
That info is stored in the file itself, using a second stream. Streams are supported on NTFS only, so as long as the file stays on NTFS volumes, the info will be preserved. --Mike-- http://home.inreach.com/mdunn/ Help! Help! I'm being repressed!! :love: your :bob: with :vegemite: and :beer: Sonork - 100.10414 AcidHelm
What are the APIs for accessing these streams? Michael S. Scherotter Lead Software Architect Tartus Development, Inc.
-
Any of the standard API (i.e. CreateFile) "mytextfile.txt:stream_name_1" is the name of "stream_name_1" in the file "mytextfile.txt". MSDN Info Tim Smith I know what you're thinking punk, you're thinking did he spell check this document? Well, to tell you the truth I kinda forgot myself in all this excitement. But being this here's CodeProject, the most powerful forums in the world and would blow your head clean off, you've got to ask yourself one question, Do I feel lucky? Well do ya punk?
Thank you. How can you enumerate the streams on a file? Michael S. Scherotter Lead Software Architect Tartus Development, Inc.
-
What are the APIs for accessing these streams? Michael S. Scherotter Lead Software Architect Tartus Development, Inc.
Any of the standard API (i.e. CreateFile) "mytextfile.txt:stream_name_1" is the name of "stream_name_1" in the file "mytextfile.txt". MSDN Info Tim Smith I know what you're thinking punk, you're thinking did he spell check this document? Well, to tell you the truth I kinda forgot myself in all this excitement. But being this here's CodeProject, the most powerful forums in the world and would blow your head clean off, you've got to ask yourself one question, Do I feel lucky? Well do ya punk?