8
I am trying to relocate my AppData folders to free up space on my laptop's SSD drive to my much larger 1TB secondary drive.
I'm using the Location tab on the C:/Users/mark/AppData/Local to make the change and it offers to move all of the files to D:/Users/mark/AppData/Local for me.
There are a few locked files (about 6?) that I skip, and then it proceeds to make the copy, but ultimately fails with The folder can't be moved here: Failed to copy files from "C:\Users\mark\AppData\Local" to "D:\Users\mark\AppData\Local". This may be due to one or more files under the source or target folders with a fully qualified file name longer than 256 characters. The operation was cancelled by the user.
Of course, the operation wasn't cancelled by the user.
Files that were open by the system during this attempt to move:
- UsrClass.dat
- UsrClass.dat.LOG1
- UsrClass.dat.LOG2
- WebCacheLock.dat
- WPNPRMRY.tmp
- V01.log
- WebCacheV01.dat
- settings.dat
- settings.dat.LOG1
- settings.dat.LOG2
- 4f37877c35670ee.dat
- 4f37877c35470ee.dat
An update: I have some old MKS utilities so I ran a find to recursively print the files and filtered them to all files longer than 230 characters in length (the full path). It mostly amounted to some cache files for various things. Removing those did not resolve the problem. So I am no longer believing this has anything to do with fully qualified names being longer than 256 characters. – MarkS – 2014-08-04T16:26:39.337
If you want to save space, you might want to relocate the whole user folder. See this similar question for further details: Forcing programs to be installed to another drive
– and31415 – 2014-08-05T14:21:55.110