Vista junction point issue
Hi all,
I have an issue with a script I made for calculating documents folder size.
Its OK on XP but on all VISTA systems its not working. I get a permission
denied
Here is my (simple) script.
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set MyDspace = objFSO.GetFolder("C:\Users\My_Name\Documents")
IntSpace1 = MyDspace.Size
Wscript.echo IntSpace1
I get a permission denied error when I launch it.
I know why but I dont how to solve it
The error is related to My Pictures, My Music and My Videos junction
points located in the Documents folder.
How can my script calculate documents folder size skipping those 3
junction points ?
Thanks for your reply !
September 4th, 2007 11:36am