Main Page | Report this Page
.NET DotNet Forum Index  »  .NET Framework Forum  »  How To Set File Details (not Attributes) in .Net...
Page 1 of 1    

How To Set File Details (not Attributes) in .Net...

Author Message
Brad...
Posted: Thu Oct 15, 2009 12:39 pm
Guest
(I am writing this on a Vista machine; XP and others may be a bit different
than what I describe here, but you'll get the point...)

When you are using Windows Explorer to move around folders, delete files,
etc., you can right click on a file and hit the Properties button and the
Propertis dialog will appear. You can then click on the "Details" tab and
see details about the file such as "File description", "Product name",
"Copyright", etc.

I would like to know how to set those details from C# or VB code. Can anyone
tell me?

Note that I am NOT talking about how to set file attributes. That is
something completely different.

Thanks,

Brad
 
OmegaSquared...
Posted: Thu Oct 15, 2009 4:26 pm
Guest
Hello, Brad,

Sorry, but I don't know Vista. I'm still using XP. But I wonder if you are
referring to the extended file properties available on NTFS?

If so, the following articles/links may be of interest to you:

http://beta.codeproject.com/KB/office/dsofiledemo.aspx
http://www.microsoft.com/downloadS/details.aspx?FamilyID=9ba6fac6-520b-4a0a-878a-53ec8300c4c2&displaylang=en

Beware though, the extended properties are available only on NTFS file
systems, and will be stripped off if the file is copied to other file systems
(such as on a memory stick of CD/DVD, etc.)

Cheers,
Randy
 
 
Page 1 of 1    
All times are GMT - 5 Hours
The time now is Mon Nov 23, 2009 1:22 pm