D
David-W-Fenton
:
If things are consistent with the past, the 260 limit is on the full
path and filename, not just the filename itself. That would mean
that a 100-character path could not have files with names over 160
in length and still be accessible.
I wonder, though, if that could be gotten round with the File System
Object by loading the list of files into a collection or array. Or,
if the FSO has a collection where you could access the files by
index and then check the name without the path.
Likely not, since to do anything from there the FSO would still have
to use the full path/name, but it's worth a shot.
Since Windows XP (and I believe Windows 7 too) handles max lenght
of 260 I believe even if we successfully rename and copy any files
with long name the behaviour of the copied file can be
unpredictable.
If things are consistent with the past, the 260 limit is on the full
path and filename, not just the filename itself. That would mean
that a 100-character path could not have files with names over 160
in length and still be accessible.
I wonder, though, if that could be gotten round with the File System
Object by loading the list of files into a collection or array. Or,
if the FSO has a collection where you could access the files by
index and then check the name without the path.
Likely not, since to do anything from there the FSO would still have
to use the full path/name, but it's worth a shot.