| View previous topic :: View next topic |
| Author |
Message |
thomas Newbie
Joined: 15 Jan 2003 Posts: 23 Location: Germany
|
Posted: Fri Jan 24, 2003 7:08 am Post subject: Free Diskspace of UNC-Path |
|
|
Hello,
I want to know the free Diskspace on a Share. The Share is reachable by \\Server\Share. I do not want to map this share to get a drive letter.
Is this possible??
Thanks! |
|
| Back to top |
|
 |
moke Contributor

Joined: 02 Jan 2002 Posts: 162
|
Posted: Fri Jan 24, 2003 2:44 pm Post subject: |
|
|
Hi Thomas,
Since a share can simply be a folder and not a physical drive i don't think you can do this. Typically folders are not allocated a size limitation although I recall someone telling me you could restrict the size a of a network folder. Even if you could i don't think it would be a property you could obtain remotely without remote administrative access to the server's registry. You could probably get spaced used by a few methods or maybe use an alternate method to achive the same result.
moke |
|
| Back to top |
|
 |
Tsunami1988 Contributor


Joined: 15 Aug 2002 Posts: 70 Location: The Netherlands
|
Posted: Fri Jan 24, 2003 4:19 pm Post subject: |
|
|
Well, I think it could be done, because of this sentence in the Help-file:
| Quote: | | T - return type of volume:removable, Fixed, Network, CD-ROM or RAM. |
But it didn't work when I used this:
| Code: | | INFO @VOLINFO(\\Server\Share,F) |
|
|
| Back to top |
|
 |
moke Contributor

Joined: 02 Jan 2002 Posts: 162
|
Posted: Fri Jan 24, 2003 6:18 pm Post subject: |
|
|
I agree it maybe possible when the share is a physical drive, but if the share is a folder where would you get the data from unless you could do as i've described previously.
I just ran a test from XP 2 XP and windows reports back the same Drive size and free space for a shared folder mapped as a drive as it does for the shared root drive mapped to a drive letter.
I believe there is a way to set limitations on shared network folders restricting users to a given amount of space. Again, you would probably need administrative remote access to the registry (or obtain it locally at the server) in order to return the result of available space for a given shared folder. It would be much easier when simply accessing a shared physical drive. |
|
| Back to top |
|
 |
|