Guest itman Posted November 15, 2004 Share 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 Link to comment Share on other sites More sharing options...
Administrators Jon Posted November 15, 2004 Administrators Share 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. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Guest itman Posted November 15, 2004 Share 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 Link to comment Share on other sites More sharing options...
Guest itman Posted November 15, 2004 Share 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 Link to comment Share on other sites More sharing options...
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