Re: long file names
- From: Ben <blargg27@xxxxxxxxx>
- Date: Tue, 25 Sep 2007 11:18:06 -0700
On Sep 22, 7:40 am, "Meg" <m...@xxxxxxxxxxxxxxxxxxx> wrote:
are there any utilities that allow me to search for files with very long
file names?
I'm having some back up problems and we think it is because of long file
names, but i don't know which ones.
using windows xp pro
thanks
Yes. Powershell and probably cmd.exe can do this. I just barely
learned powershell, so here is my go:
foreach( $filename in Get-ChildItem c:\temp -recurse )
{ if( $filename.Name.Length -gt 255 ) {$filename.FullName;}}
-prints path and filename of long filenames to screen
-Change c:\temp to the directory you want to search
-change 255 to the length of file you wish to check.
.
- Follow-Ups:
- Re: long file names
- From: Pegasus \(MVP\)
- Re: long file names
- References:
- long file names
- From: Meg
- long file names
- Prev by Date: Maximum Size of Dynamic Volume - NTFS 3.1 - MBR style
- Next by Date: Re: long file names
- Previous by thread: Re: long file names
- Next by thread: Re: long file names
- Index(es):
Relevant Pages
|
Loading