On 5/2/08, Kevin Lundy <[EMAIL PROTECTED]> wrote: > We are having a problem with one of our archive tools (Disk Extender). > Better said, Disk Extender has identified a problem where some directory and > file paths are >256 characters. I thought that was a hard limit in Windows > so not sure how they got created.
It's not a hard limit, and it's easy to create these files. It *is* a limit of the Win32 subsystem, in some ways, but placing shares deep into directory structures is one of the easier ways to create them. > Does anyone know of a tool, or way to script, that will give us a report of > at least directories that exceed some limit? We have about 4 TB of > unstructured files, so we don't want to see every file that exceeds the > length, but a list of every directory path over say 240 characters would be > a good start. > > I thought the good old dir command used to have a switch to only display > directories and not files but don't see it anymore. I was just going to > pipe dir commands to files and then import and sort. > > Kevin I have a batch file that checks for this kind of thing on our 2tb file server that I've scheduled for a weekly run - ping me on Monday, and I'll shoot you a copy - I'm on vacation right now, so don't have access to it. Kurt ~ Upgrade to Next Generation Antispam/Antivirus with Ninja! ~ ~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm> ~
