R
rupart
Hi all,
on my server, i have a number of logical drives...under
that i have few shares...interestingly, i cud get the size
of certain shares but not the others on different
drives...it says "permission denied"...i checked the
permission at the physical drive and the shares....i have
my id with FULL ACESS but still couldnt get the size..
for example
i can get the size of p:\ABC but not Q:\efg....all the
permission settings on p:\ and q:\ are same...just wonder
why it says "permission denied" on q:\...
i use the below script to get the size...any idea?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Dim filesys, demofolder
Set filesys = CreateObject("Scripting.FileSystemObject")
Set demofolder = filesys.GetFolder("foldername")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
on my server, i have a number of logical drives...under
that i have few shares...interestingly, i cud get the size
of certain shares but not the others on different
drives...it says "permission denied"...i checked the
permission at the physical drive and the shares....i have
my id with FULL ACESS but still couldnt get the size..
for example
i can get the size of p:\ABC but not Q:\efg....all the
permission settings on p:\ and q:\ are same...just wonder
why it says "permission denied" on q:\...
i use the below script to get the size...any idea?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Dim filesys, demofolder
Set filesys = CreateObject("Scripting.FileSystemObject")
Set demofolder = filesys.GetFolder("foldername")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^