Illegal Path Length Checker?

  • Thread starter Thread starter KiwiBrian
  • Start date Start date
K

KiwiBrian

Does anyone know of a method, utility, or program that will check for
illegal path-length on a hierachy on a Hard Drive? I am using XP.
TIA
Brian Tozer
 
This probably won't help with your specific question, but there is a
very nice freeware utility, Long Filename Finder, that can be used if
the problem is with the filename itself, not the full path, etc.

You simply put in the path to the files/folders/sub-folders you want to
test & then put in the max length you're looking for and it will tell
you which files exceed that length.
More info here:
http://www.dcsoft.com/products/longff/longff.htm
 
In message said:
This probably won't help with your specific question, but there is a
very nice freeware utility, Long Filename Finder, that can be used if
the problem is with the filename itself, not the full path, etc.

You simply put in the path to the files/folders/sub-folders you want to
test & then put in the max length you're looking for and it will tell
you which files exceed that length.
More info here:
http://www.dcsoft.com/products/longff/longff.htm

Quite a coincidence, this query. I've just been Googling for info on
limitations to filenames. However, my problem is somewhat different.

I have lots of Excel files which contain tables of important test
results. They are on the works laptop, and I saved them when connected
to the server. I need them this weekend for a report. I'm now finding
that I can't access them off-line (at home) because the filenames are
too long (I named then with a long list of test conditions). I can see
the directory listings OK but there are some files in a given directory
which I can't open (or move, rename etc).

I find that I can get to some using DOS (cmd), and copy them to a
floppy. However, there are some I can only get to by dialling into the
works network, and then e-mailing them to myself.

I've done a test on my own PC and, in the directory I was testing in, I
was limited to about 110 consecutive characters. I understands that XP
has a limit of 215, so it may be not a problem of just the filename
itself. It may be the whole path length which is the problem. I'm still
experimenting.

There seems to be no warning of this when you give a file an illegally
long name. However, at least you can rename it (on my machine) whereas
on the works laptop (Windows 2000), you can't.

Ian.



--
 
I have lots of Excel files which contain tables of important test
results. They are on the works laptop, and I saved them when connected
to the server. I need them this weekend for a report. I'm now finding
that I can't access them off-line (at home) because the filenames are
too long (I named then with a long list of test conditions). I can see
the directory listings OK but there are some files in a given directory
which I can't open (or move, rename etc).

Try to *move* the *directory*, the files are in, to the root of your
drive (e.g. c:\) on your laptop. After that at least copy operations
using the short DOS filenames should succeed.

BeAr
 
B. R. 'BeAr' said:
Try to *move* the *directory*, the files are in, to the root of your
drive (e.g. c:\) on your laptop. After that at least copy operations
using the short DOS filenames should succeed.

BeAr

Yes, I'm going to do that when I'm connected directly to the server
(tomorrow, at work). I got out the habit of doing my own thing by making
directories directly on the C-drive, because it doesn't get backed up on
the server (My Docs does). Anyway, apologies for this somewhat off-topic
intrusion.
Ian.
--
 
Back
Top