Document with list of Folder sizes in Windows only

Shared Libraries
Forum rules
For sharing working examples of macros / scripts. These can be in any script language supported by OpenOffice.org [Basic, Python, Netbean] or as source code files in Java or C# even - but requires the actual source code listing. This section is not for asking questions about writing your own macros.
Post Reply
JeJe
Volunteer
Posts: 2764
Joined: Wed Mar 09, 2016 2:40 pm

Document with list of Folder sizes in Windows only

Post by JeJe »

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)
Attachments
folder sizes.odt
(11.81 KiB) Downloaded 226 times
Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)
Post Reply