Modify a files properties such as Title, subject, Author

Posted on 2004-11-23
Last Modified: 2010-05-02
I have a large number of folders and files that my code loops through checking that a file is in the right folder and that it follows a particular naming convention.
There are about 70 000 files.  I would like to be able to modify a file's property - like its revison number - so that when looping through - the program can check this number and then just skip over the file if it is a certain value.  By file's properties, I mean those you can see if you right click on a file and choose properties - and then the summary tab - you see describtion, title, author etc and there is an 'advanced' button to see more advanced properties such as origin.revsionnumber).
If you have any idea how I can assess these properties to read and write to them I will be very thankful.  
Question by:sbwhotmail
    LVL 28

    Accepted Solution

    LVL 76

    Expert Comment

    by:David Lee
    You can read and manipulate the properties of MSOffice files/documents using DSOFILE.  Other file types aren't as easy.  There isn't a standardized way of handling the properties of each.;en-us;Q224351
    LVL 76

    Expert Comment

    by:David Lee
    vinnyd79 is a faster typist than I am. :)

    Author Comment

    Thank you both so very much.
    BlueDevilfan - your answer actually got me going as I am doing the work in Microsoft access in VBA - so the link to the scripting center really helped.
    Than you

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    Suggested Solutions

    When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
    Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
    Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
    Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now