I am in the process of moving the home directories for some users from one volume to another on the same server. While moving one home directory earlier today, I ran into an issue where a number of files could not be moved due to the path length limit. The directory path lengths on the two volumes are exactly the same (ie: D:\Home\jdoe\personal\data\plans\ and E:\Home\jdoe\personal\data\plans\). When looking at the full path length for any of the given files, it does in fact exceed the 256 character limit. I have two questions. First, how could the files have been created in the original volume in the first place, if the path length is too long? Second, what can I do to move these files to the same location in the new volume?
All of the files are .pdf files. When searching for information, I read one post indicating that the native application of the file might have an implact on this. After reading that, I copied some of the files to a temporary location with a shorter path, opened one of them in Acrobat Reader, and then attempted to save it in the new location. However, this approach failed. I have also attempted to use robocopy to copy the files to the new location, but that fails as well. The server is Windows 2008 Standard SP2.
Again, I am befuddled as to how the files could have been put in the original location in the first place, given their excessive path lengths. Any \ all ideas are greatly appreciated.