I can't figure out how to delete numbers in the interior of filenames and still retain the rest of the names.
For example, how do I change 200410 PICT2233_0005 marilyn and 200410 PICT2234_0006 joan, etc. to read 200410 PICT2233 marilyn and 200410 PICT2234 joan, etc. I want to delete only those "interior numbers" (_0005,_0006, etc.) in over a hundred filenames and leave the rest of the names intact.
Can this be done?
Thanks,
Wendell
Batch rename (again)
Moderators: helmut, XnTriq, xnview
Re: batch rename (again)
Wendell et al,
What you needed is a sort of substring-function which allows to extract sub strings (parts) of an existing value of a placeholder. Or something like "Filename without digits" would also help, but would be much flexible. But both is not supported by XnView at the moment.
Please see also the useful info in topic 'Drag-n-drop, Rename with search-n-replace'.
At the moment, only the full filename (without extension) can be used as placeholder. So with the XnView batch renaming you won't be able to achieve what you want.wendell wrote:I can't figure out how to delete numbers in the interior of filenames and still retain the rest of the names. ...
What you needed is a sort of substring-function which allows to extract sub strings (parts) of an existing value of a placeholder. Or something like "Filename without digits" would also help, but would be much flexible. But both is not supported by XnView at the moment.
Please see also the useful info in topic 'Drag-n-drop, Rename with search-n-replace'.
Re: Batch rename (again)
While Xnview is an awesome proggie and it's batch rename is awesome for somebody who may not be familiar with DOS and batch routines in that environment, you would probably do well to check outwendell wrote:I can't figure out how to delete numbers in the interior of filenames and still retain the rest of the names.
For example, how do I change 200410 PICT2233_0005 marilyn and 200410 PICT2234_0006 joan, etc. to read 200410 PICT2233 marilyn and 200410 PICT2234 joan, etc. I want to delete only those "interior numbers" (_0005,_0006, etc.) in over a hundred filenames and leave the rest of the names intact.
Can this be done?
Thanks,
Wendell
news:alt.msdos.batch
news:alt.msdos.batch.nt
However, you can also type in the name of what you want, then for the sequence, use the "#", though I would use at least one more than needed, perhaps:
<Current Date>_###_Joan.
Also to be considered, the date format doesn't allow the sorting (it may just be a mental thing with me, but I like files that I have named according to date to be in the YYYYMMDD format), at least visually of pics, or any file as it can rename any file, not just graphics. I just checked and the date would be in the format MM-DD-YYYY, if manipulated in DOS or even Windows Exlorer, the ideal date format would be YYYYMMDD (like the military does). Though that might be able to be remedied by tweaking in the INI or registry, depending on how you have yours setup.
Sincerely,
A.H. Carter
d(-_-)b
OS:Win 98 SE
Processor:Cyrix 6x86MX (MMX), 250 MHz
Xnview Ver: 1.74
RAM: 380MB
A.H. Carter
d(-_-)b
OS:Win 98 SE
Processor:Cyrix 6x86MX (MMX), 250 MHz
Xnview Ver: 1.74
RAM: 380MB