logonui Posted January 16, 2007 Posted January 16, 2007 (edited) Is there a way to count the amount of files in a directory and display this in a real time GUI ie as one file moves out of the directory the number goes down one. I want to be able to pick up this info from all subdirectories to be included in the final number as well. I have searched the forums but have found nothing that does what i want. Edited January 16, 2007 by logonui
Helge Posted January 16, 2007 Posted January 16, 2007 $dir = DirGetSize(@ScriptDir, 1) If NOT @error Then MsgBox(64, "", "Files : " & $dir[1])
MHz Posted January 16, 2007 Posted January 16, 2007 (edited) Have a look at DirGetSize. Edit: Damn, Helge even did an example...well done Edited January 16, 2007 by MHz
logonui Posted January 17, 2007 Author Posted January 17, 2007 (edited) Works Great thanks for your help Edited January 17, 2007 by logonui
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now