batch rename bug

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
xman
Posts: 133
Joined: 28 Nov 2009 22:57

batch rename bug

Post by xman »

When I try to rename multiple files using this:

Code: Select all

a.<#001> /e
than it doesn't substitute <#001> with incrementing values. It changes correctly only if it is before last dot or if there is no dot at all.
Last edited by xman on 01 Jan 2010 20:09, edited 1 time in total.

admin
Site Admin
Posts: 65185
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: batch rename bug

Post by admin »

So you want the extensions to be *.001, *.002, *.003 etc. ... quite unusual. :)

xman
Posts: 133
Joined: 28 Nov 2009 22:57

Re: batch rename bug

Post by xman »

There is a program named "File Splitter & Joiner", that can join files together, if they have extensions .001, .002 etc. And it's associated with .001, so this was the easiest way to go. :wink:

admin
Site Admin
Posts: 65185
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: batch rename bug

Post by admin »

I'd say this is too weird to be supported.

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

Re: batch rename bug

Post by j_c_hallgren »

admin wrote:I'd say this is too weird to be supported.
Actually, in the area of split/join, this file name style has been around for many years! I recall doing it back on Win3.11! So I don't see it as weird at all.

I'm just curious in these days of large device sizes why one would still need to do this...though I'll admit to doing a split on some large mp3 podcast files so that my cheap 3+yr old & primitive player that doesn't support bookmarks would have 10 min chunks that I could skip thru to get back to close to where I was when I stopped it.
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.

xman
Posts: 133
Joined: 28 Nov 2009 22:57

Re: batch rename bug

Post by xman »

I'm just curious in these days of large device sizes why one would still need to do this...
If you need to join some multiple text files, for example.. There are many situations, where you would need to join files and it doesn't have anything to do with harddrive size. And if someone wants to transfer multi-GB file over internet, cutting it to 100 MB or so chunks may be one of possible solutions (beside creating multi-volume rar or zip).

Now I don't insist on fixing this. It can be easily workarounded in two steps. I reported it because it seems like incorrect behaviour.

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

Re: batch rename bug

Post by j_c_hallgren »

xman wrote:
I'm just curious in these days of large device sizes why one would still need to do this...
If you need to join some multiple text files, for example.. There are many situations, where you would need to join files and it doesn't have anything to do with harddrive size. And if someone wants to transfer multi-GB file over interner, cutting it to chunks may be one of possible solutions (besides creating multi-volume rar or zip).
Ok...good answers! Thanks! I'd not needed it for those purposes.

BTW, the split/join that I found in my Downloads was from http://www.peretek.com/sfj.php where the .001, .002, etc naming is mentioned also.
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.

Stefan
Posts: 1360
Joined: 18 Nov 2008 21:47
Location: Europe

Re: batch rename bug

Post by Stefan »

1 Step) Batch Rename: a.<#001>
2 Step) Set Extension:


Or with an script
rename b, 'a.<#001>', p,;
  rename e, "", p,;
Last edited by Stefan on 01 Jan 2010 21:51, edited 1 time in total.

xman
Posts: 133
Joined: 28 Nov 2009 22:57

Re: batch rename bug

Post by xman »

Stefan wrote:1 Step) Batch Rename: a.<#001>
2 Step) Set Extension:
That's what I did, but thanks anyway :wink:

admin
Site Admin
Posts: 65185
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: batch rename bug

Post by admin »

OK, convinced. Fixed it. :)

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

Re: batch rename bug

Post by j_c_hallgren »

As a follow-up to the "join files" issue (not the rename bug itself), I found in this old post http://www.xyplorer.com/xyfc/viewtopic. ... 967#p34967
there was a script to do this which may help...not sure if it's current but posting here to leave another pointer to that script.
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.

Post Reply