multi-rename/copy problem with regular expression of *
Moderators: Hacker, petermad, Stefan2, white
multi-rename/copy problem with regular expression of *
in past it was possible to use rename / copy on multiple files
where the previous value of * was saved properly for the resulting name
let say for example you have directory with two files
001.jpg
002.jpg
select all files via *.*
choose copy or rename F5/F6 or SHIFT+F5 / SHIFT+F6
use as resulting name
1_*.1_*
this in past resulted into
1_001.1_jpg
1_002.1_jpg
but now the result is
1_1.1_g
1_2.1_g
seems like now the values are rewritten (similar to ? being used)
instead copied old * value as whole
is there way how get 'old' behaviour back ?
or what's the proper regular express argument to keep original value for the desired result?
i'm just confused because it was working in past and now isn't' ...
thanks for any help
where the previous value of * was saved properly for the resulting name
let say for example you have directory with two files
001.jpg
002.jpg
select all files via *.*
choose copy or rename F5/F6 or SHIFT+F5 / SHIFT+F6
use as resulting name
1_*.1_*
this in past resulted into
1_001.1_jpg
1_002.1_jpg
but now the result is
1_1.1_g
1_2.1_g
seems like now the values are rewritten (similar to ? being used)
instead copied old * value as whole
is there way how get 'old' behaviour back ?
or what's the proper regular express argument to keep original value for the desired result?
i'm just confused because it was working in past and now isn't' ...
thanks for any help
Oops O_o Windows command line processor also have this bug?
I think such behaviour has place for many years and used everywhere. If you try to rename files using ren command line command, you'll get same result. So I don't think it is a bug - just specific behaviour (I agree that sometimes it is not so useful).

- ghisler(Author)
- Site Admin
- Posts: 50512
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This isn't a bug, TC just tries to behave like the Windows command line processor...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
- ghisler(Author)
- Site Admin
- Posts: 50512
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
No, it has always worked this way in TC. Characters you type in the rename field replace the characters of the original name. The * character just pastes the remaining characters of the name/extension, depending on where it stands.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
2Dwarden
Name: 1_[N]
Extension: 1_[E]
I use MRT for this (Ctrl+M):use as resulting name
1_*.1_*
[...]
or what's the proper regular express argument to keep original value for the desired result?
Name: 1_[N]
Extension: 1_[E]
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
-- TC starter menu: Fast yet descriptive command access!
- ghisler(Author)
- Site Admin
- Posts: 50512
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Maybe the command line processor was changed since I implemented this? Older versions ignored characters after the * char. For the moment, I don't have plans to change this.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com