Jump to content

Size of UNC path....


Guest itman
 Share

Recommended Posts

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

  • Administrators

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.
Link to comment
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

Link to comment
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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...