@kirkr5689
A proof of concept script below. I know that you prefer to paste in the path to the new folder from the clipboard into a prompt, if this script works as you require it should be easy enough to update the code to paste the path rather than selecting it:
/*
Relink SO to New Folder.jsx
v1.0 - 8th January 2024, Stephen Marsh
https://community.adobe.com/t5/photoshop-ecosystem-ideas/relink-to-new-resource-folder-not-each-file-one-by-one/idc-p/14336634
*/
#target photoshop
var thePa
...