Mintoris Forum

Author Topic: Recursive file and folder sizes  (Read 1653 times)

mjcoon

  • Sr. Member
  • ****
  • Posts: 116
Recursive file and folder sizes
« on: Apr 18, 2014, 11:21 PM »
This code snippet arises from a discussion in thread: http://www.mintoris.com/forum/index.php?topic=731.0

It prints file and folder sizes, but limits the printed details to whatever recursion depth is set by parameter.

I chose to ignore the advice not to return a value in a recursive function but it seems to work OK; your mileage may vary‼

Mike.