I need some help renaming a file that has a full path length longer than MAX_PATH (>260). I can locate the files using WIN32 API ("\\?\" recognition for long paths, etc.) coding and have actually developed a workaround using the Dir commands as a secondary route with appropriate error trapping as well. My problem simply is that I have located the file but now need to rename it. Neither the "Name" statement nor FSO's .movefile attempts were successful either (even with "\\?\" prepended). Please help!!!
Rename files longer than MAX_PATH using WIN32 API (VBA)
Collapse
X
Comment