FUNCTION: Get Folder Size with Windows Shell
I do not found an proper function in Livecode to display directory sizes, so i went over the detour of the shell-command and have a corresponding function tinkered that gives me the whole in bytes, kilobytes, megabytes and gigabytes
In the example, everything is commented, so that there should be no questions about it
The whole thing is designed for a Windows environment, but should also be easy to rewrite it for Linux and Mac. In the end its just a shell call ;)
Where can this be used?
e.g. Monitoring user profiles, querying temporary data sets for cleanup tools, etc etc etc