Hey Scripting Guys !
I have an issue with a script I made for calculating â??documentsâ?? folder size.
Itâ??s OK on XP but on all VISTA systems itâ??s 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 donâ??t 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 !