Guest itman Posted November 15, 2004 Posted November 15, 2004 I've been using this app for about 6 months and I must say it is excellent! However, I'm looking for a way to find the size of a UNC path... I noticed there is a filegetsize function, but I would like to know the size of a directory located on a network EX... $dirsize = dirgetsize ("\\mypc\c$\backupdir") or maybe... $dirsize = filegetsize(\\mypc\c$\backupdir\*.*) Is there anyway to acomplish this? Thanks for writing such a useful app! itman
Administrators Jon Posted November 15, 2004 Administrators Posted November 15, 2004 I've been using this app for about 6 months and I must say it is excellent! However, I'm looking for a way to find the size of a UNC path... I noticed there is a filegetsize function, but I would like to know the size of a directory located on a network EX...$dirsize = dirgetsize ("\\mypc\c$\backupdir")or maybe...$dirsize = filegetsize(\\mypc\c$\backupdir\*.*)Is there anyway to acomplish this?Thanks for writing such a useful app!itmanI'm just in the middle of adding a DirGetSize() function that was submitted to me a while ago. Should be in the latest beta/unstable build today.
Guest itman Posted November 15, 2004 Posted November 15, 2004 I'm just in the middle of adding a DirGetSize() function that was submitted to me a while ago. Should be in the latest beta/unstable build today.<{POST_SNAPBACK}>Whoa! That was quick. Thanks, I'll try it out.itman
Guest itman Posted November 15, 2004 Posted November 15, 2004 Whoa! That was quick. Thanks, I'll try it out.itman<{POST_SNAPBACK}>Just to let you know... I have a script running now with a progress bar that uses the DirGetSize and it appears to be running perfect. It's copying about 7gigs over the network but right now I can see I've copied about 3.5GB out of 7GB. It is also using a combination of UNC paths and absolute paths.Thanks,itman
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