Change extended file properties




















You can help the site keep bringing you interesting and useful content and software by using these options:. If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support! Sergey Tkachenko is a software developer from Russia who started Winaero back in On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram , Twitter , and YouTube.

View all posts by Sergey Tkachenko. Your email address will not be published. Skip to content Advertisement. Contents hide. New posts. Excel Articles Latest reviews Search Excel articles. Log in Register. Search titles only. Search Advanced search…. Search forums. Log in. Install the app. If you forgot your password, you can reset your password. JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.

You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser. Thread starter BrianB Start date Jun 12, BrianB Well-known Member.

Joined Feb 17, Messages 8, Trying to manually set individual file properties is time consuming and they only show in the application used to set them. A simple check in Windows Explorer file properties shows that things like Date Created, Modified, and File Size do not always match what we see in the file list windows. I use the FileSystemObject ones.

We can also add other macros to delete files and auto-open the appropriate Explorer folder window etc. Having made numerous experiments I have found that the published methods of writing properties in Visual Basic do not work in VBA. However, we are able to use an invisible 'Windows Media Player' control in a Userform to do the job.

Learn more. How can I change extended file properties using vba Ask Question. Asked 8 years, 7 months ago. Active 2 years, 4 months ago. Viewed 14k times. Improve this question. Ben Ben Add a comment.

Active Oldest Votes. OleDocumentProperties" objFile. Improve this answer. Leigh Join , subscribers and get a daily digest of news, geek trivia, and our feature articles. By submitting your email, you agree to the Terms of Use and Privacy Policy. If you decide not to specify any of the attributes listed above, the files or folders will revert to their current attribute settings.

Now go to your CMD window. Do this by entering the following command. Once you have done this, you will notice that the file has disappeared from your documents folder.

Note that if you try to enter the file name without a path, you will receive an error. You must remember to add the entire path to your command. You can do this by using the command below. Now you can open your downloads folder, right-click on one of the text files and then select properties. You will note that the file attributes have been changed. To remove these settings simply use the same command, but replace the plus signs with minus signs. Now, navigate to your CMD window and enter the following string to prepare the selected file for archiving.

First, you need to create a folder on your desktop and put a few files in it. Once you have done that, navigate to your CMD window and enter the following command.

Now you can play with some of the other settings to make changes to any file attributes on your computer. Use Google Fonts in Word.



0コメント

  • 1000 / 1000