Sign in to follow this  
Followers 0
Guest itman

Size of UNC path....

4 posts in this topic

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

Share this post


Link to post
Share on other sites



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

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0