Hey guys,
Is there any kind of code to get the size of a folder? I know there's one for individual files, but what about an entire folder? Or alternatively, will I need to branch into my non-existant knowledge of VB? haha
Thanks in advance as always,
Dominic
GetFolderSize
Moderators: Dorian (MJT support), JRL
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: GetFolderSize
There's a little VBScript snippet for doing this at:
viewtopic.php?f=2&t=8696
viewtopic.php?f=2&t=8696
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
-
- Pro Scripter
- Posts: 82
- Joined: Mon Mar 24, 2014 12:15 pm
Re: GetFolderSize
Hey Marcus,
Thanks for your reply
Is that the right link? The page doesn't have anything about checking folder size/vb script. It's about REGEX and counting periods in a string.
Thanks!
Dominic
Thanks for your reply
Is that the right link? The page doesn't have anything about checking folder size/vb script. It's about REGEX and counting periods in a string.
Thanks!
Dominic
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: GetFolderSize
Oops. Not sure how that happened. Correct link is:
viewtopic.php?f=2&t=8692
viewtopic.php?f=2&t=8692
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
-
- Pro Scripter
- Posts: 82
- Joined: Mon Mar 24, 2014 12:15 pm
Re: GetFolderSize
That's perfect! Thanks Marcus!
I know it's "Off-Thread", but any chance of an inbuilt FolderSize function in the future?
Dominic
I know it's "Off-Thread", but any chance of an inbuilt FolderSize function in the future?
Dominic