View Single Post
  #234 (permalink)  
Old July 18th, 2005
rkapsi rkapsi is offline
Valued Member contributor
 
Join Date: August 10th, 2003
Location: In the middle of nowhere (54°N 10°E)
Posts: 318
rkapsi is flying high
Default

Quote:
The funny thing is that renaming them in Explorer does make the files movable. It seems there's some weird length limit that applies to moving files but not to creating them in the first place, not that that makes any sense, but since when does anything that came from Microsoft make sense? If that is indeed the case, the solution is just to truncate names at, say, 60 characters -- all the files exhibiting the problem have had names considerably longer than that. (It still begs the question of why the OS would permit the files to be given such a name in the first place but then refuse to allow them to be moved...)
There's indeed a path length limit (MAX_PATH C macro, on most modern systems 1024 byte/char).
Reply With Quote