Page 1 of 1

How to Rename a List of Files Based on Clipboard?

Posted: 21 Apr 2010 16:48
by SkyFrontier
Hi all!
I finally quit. I'm trying to recall where I found this script, and completely failed. That was a script for renaming, picking up a list from the clipboard and applying it to the selected files. Can anyone help, please...?
Thanks in advance!

Re: How to Rename a List of Files Based on Clipboard?

Posted: 21 Apr 2010 16:59
by Stefan

Re: How to Rename a List of Files Based on Clipboard?

Posted: 21 Apr 2010 17:05
by SkyFrontier
It was slightly more simple, Stefan. It preserves the file extensions intact and has no need to switch recursion off [meaning one need to OK after each renamed files from the list... =( ] - just select target files, read clipboard (previously filled with the correct info) and get the job done.
I was already dealing with the given link but... I know that it was done in more easier way.
But... thanks for trying!

EDIT: the second code of the link pointed by Stefan did the work partially - it hasn't preserved file extensions (names on clipboard has no extensions, but XYplorer could ignore that), ignored files ending with "<" (therefore not renaming them) but has no recursion check, despite not mentioning that in the code itself... as long as I can interpret it. =)