That was what I remembered Rene.  I must have been tired on Friday when I
sent that, as I had a window open with the output of dir /? in it and didn't
see that option.

However, I think I'll use Kurt's script - that I didn't even have to remind
him to send this AM. Thanks Kurt.

Kevin

On Mon, May 5, 2008 at 4:16 AM, René de Haas <[EMAIL PROTECTED]>
wrote:

>  to have dir display directories only:
>
> dir /a:d
>
> or to do subdirs as well
>
> dir /a:d /s
>
> Hth
> Rene
>
> -----Original Message-----
> *From:* Kevin Lundy [mailto:[EMAIL PROTECTED]
> *Sent:* Friday, May 02, 2008 8:47 PM
> *To:* NT System Admin Issues
> *Subject:* file name length
>
> 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.
>
> 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
>
>    ------------------------------
> ***
> The information in this e-mail is confidential and intended solely for the
> individual or entity to whom it is addressed. If you have received this
> e-mail in error please notify the sender by return e-mail delete this e-mail
> and refrain from any disclosure or action based on the information.
> ***
>
>
>

~ Upgrade to Next Generation Antispam/Antivirus with Ninja!    ~
~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm>  ~

Reply via email to