tsi_admin
asked on
How to Find the longest pathname on a server?
I have a fileserver running Windows 2003 server. I know there is a limit on the length of the path there can be. Files start getting hosed up and everything just gets ugly. Is there a way on a server or computer to determine the longest pathname for a group of folders without having to look manually?
pathname example: //folder1/folder2/folder3/ folder4/fo lder5/file .doc
Thanks
A.M.
pathname example: //folder1/folder2/folder3/
Thanks
A.M.
or go to the root:
dir /ad /s >>c:\temp\directories.txt
Then open the directories.txt file using excel... you should be able to see the bigger directories here...
use dir /s to see the files too if you want.
dir /ad /s >>c:\temp\directories.txt
Then open the directories.txt file using excel... you should be able to see the bigger directories here...
use dir /s to see the files too if you want.
ASKER
Thanks for the response, I tried the above, however it only gives the directory name, I need the number of characters of the entire path.
Thanks,
A.M.
Thanks,
A.M.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
dir /ad /s
to show you the directories...
Map a drive to the share...then run
dir /ad /s