Select files from subfolder for batch rename

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
jacksonmacd
Posts: 35
Joined: 07 Dec 2011 05:33

Select files from subfolder for batch rename

Post by jacksonmacd »

The folder structure is like this:

Code: Select all

2001
   01
   02
   ...
  12
2002
  01
  02
  ...
  12
2003 
...
I want to select all the files in the 01 subfolders so I can rename them with a consistent prefix. Once the files are selected, I believe the batch rename will do the job. Then I want to select all the 02, and rename them with a different prefix. Etc. I thought the branch view would allow me to do this, but I haven't been able to figure it out. Any suggestions.

Thanks

jacksonmacd
Posts: 35
Joined: 07 Dec 2011 05:33

Re: Select files from subfolder for batch rename

Post by jacksonmacd »

Having seen 16 viewers and no answer, I suppose it's not feasible. Too bad...

I wrote a VBA program to loop thru all the folders and rename the files. Kinda kludgey, but it got the job done. Thanks anyway for looking!

RalphM
Posts: 2090
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Select files from subfolder for batch rename

Post by RalphM »

Well, I think you could certainly have got it done with a XY script as well, but apparently our scripting guys were having other things to do since you posted your request...
Ralph :)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: Select files from subfolder for batch rename

Post by j_c_hallgren »

RalphM wrote:Well, I think you could certainly have got it done with a XY script as well, but apparently our scripting guys were having other things to do since you posted your request...
I'm also pretty sure that it could have been done via XY script also but as RalphM suggests, I suspect the handful of scripting experts who help out here were busy with "real life"...It's really hit-or-miss as to whom is here and when so I wouldn't take the lack of response as anything except bad timing.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

jacksonmacd
Posts: 35
Joined: 07 Dec 2011 05:33

Re: Select files from subfolder for batch rename

Post by jacksonmacd »

Yes - I looked at using XY scripting, but for expediency I just reverted to something familiar.

Post Reply