Document with list of Folder sizes in Windows only

Creating Extension - Shared Libraries
Forum rules
For sharing working examples of macros / scripts. These can be in any script language supported by [Basic, Python, Netbean] or as source code files in Java or C# even - but requires the actual source code listing. This forum is not for asking questions about writing your own macros.

Document with list of Folder sizes in Windows only

Postby JeJe » Sun Sep 26, 2021 3:41 pm

Drag and drop a folder into attached Writer document from Windows Explorer and it will produce a list of the sizes of the folder and first level subfolder contents and first level file count.

(Note: on error resume next included as issue found with some initial folders. Seems to work okay for the folders I needed this for, but may produce incomplete list with others)
folder sizes.odt
(11.81 KiB) Downloaded 40 times
Openoffice 4.1.6
Windows 8
Posts: 1646
Joined: Wed Mar 09, 2016 2:40 pm

Return to Code Snippets

Who is online

Users browsing this forum: No registered users and 2 guests