A
Asger-P
Hi Char
I dont know if this still goes, but when I worked on a school
14 Years ago I often came across folders that couldn't be
deleted because the length of their path was more then 260
chars (MAX_PATH).
The kids created these folders by making a new folder with
a long name then they made a copy of that and dropped the
first one into the copy and they kept doing that for as long
as they could.
And that could be done because such a copy only involves
adjusting a few bits in the disk table or what it's called.
but when deleting such a folder the delete function have
to go through the whole structure of the folder in order to
delete recursive and there by exceeded the MAX_PATH in the
function.
The tool I made at the time used 8.3 filenames in order to
shrink the path below MAX_PATH.
There was no other way to delete those folders, it was not even
possible to browse to the bottom of them in the explorer.
Best regards
Asger-P
Sounds like You never worked on a public school.I'm in the same boat with you. I've been using personal computers
since 1982 and Windows since 1991 and I don't remember a single time
I've needed a 3rd party utility to help me delete a file or directory.
Reading this group, you'd think this was a fairly common thing, but
not for me.
I dont know if this still goes, but when I worked on a school
14 Years ago I often came across folders that couldn't be
deleted because the length of their path was more then 260
chars (MAX_PATH).
The kids created these folders by making a new folder with
a long name then they made a copy of that and dropped the
first one into the copy and they kept doing that for as long
as they could.
And that could be done because such a copy only involves
adjusting a few bits in the disk table or what it's called.
but when deleting such a folder the delete function have
to go through the whole structure of the folder in order to
delete recursive and there by exceeded the MAX_PATH in the
function.
The tool I made at the time used 8.3 filenames in order to
shrink the path below MAX_PATH.
There was no other way to delete those folders, it was not even
possible to browse to the bottom of them in the explorer.
Best regards
Asger-P