Written by David Moen
Here is a small macro that will determine the size of all the files in a folder.
Download the macro file umsizeoffolder.mex and save it to your hard drive where you store your macro file(s). Import the macro into your existing macro file by clicking File, Import, Import Macros.
Include a ‘Macro Run: Variable_Set_Integer_from_size_of_folder’ command in one of your macros or run the ‘Variable_Set_Integer_from_size_of_folder’ macro separately.
The macro will allow the user to browse to the folder to use using the ‘Variable Set String from Folder Name’ command. Then the ‘Repeat with Folder’ command is used to get the filename of every file in the specified folder and the ‘Variable Set Integer from the size of file’ command is used to get the size of the file. The ‘Variable Modify Integer: %N1% = %N1% + %N2%’ to keep a running total of the size. Finally, the size is displayed using a ‘Text Box Display’ command.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |