Thursday, February 1, 2018

windows 7 - Taskbar pinned file shortcuts become invalid after moving the underlying files


When you move a file that is pinned to the taskbar (in a jumplist) that pinned shortcut becomes invalid. Clicking it results in the usual error for broken shortcuts:


enter image description here


How can I move a big number of pinned files to a new location and have the pinned items stay valid?


Answer



You cannot. Windows sets this in the registry as binary data. The only way is to first unpin the documents, then move them, and then pin them again.


Theoretically you could move the files and create a directory junction so windows keeps thinking the files are in both places, but I assume you are moving the files to a different location because you don't want them to be at the first location.


No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...