ITBenelux
asked on
Determine the path length of a volume or folder
Experts,
I want to know if there is a way or a tool who can provide me with the following info. I need to know on my Windows 2003 Server the total length of the folders within a volume.
I suspect that there are folders who oversizes the max path length. So an overview lik
D:\
Folder x: 210 char.
Folder y: 110 char.
Folder z: 22 char.
Any suggestions.
ITBenelux
I want to know if there is a way or a tool who can provide me with the following info. I need to know on my Windows 2003 Server the total length of the folders within a volume.
I suspect that there are folders who oversizes the max path length. So an overview lik
D:\
Folder x: 210 char.
Folder y: 110 char.
Folder z: 22 char.
Any suggestions.
ITBenelux
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The script works Thx
Set FSO = CreateObject("Scripting.Fi
ShowSubfolders FSO.GetFolder("C:\test")
Sub ShowSubFolders(Folder)
For Each Subfolder in Folder.SubFolders
pathlen = len(Subfolder.Path)
Wscript.Echo Subfolder.Path &" Lenght: " &pathlen
ShowSubFolders Subfolder
Next
End Sub