Page 1 of 1

rename first part of filename

Posted: 2010-04-26 04:13:39
by 20rdj04
Perhaps what I want is easily done. I failed to bring my thumbdrive to work to download program. If it is easily done without help, my appologies. Please ignore.

The original JPeg files that I downloaded were named 01, 02, 03, 04, etc, 02, 03, 05, 09, etc, and so forth. In attempting to differentiate between groups, I added a number, such as 18, and a group-letter such as (group) A, (group) B, (group) C, etc. 18 was for all the groups on a particular day.
Some days I had 34 groups or more (AH).

An index stated that 18A was (group) Betty; 18B was (group) Robert; 18C was Rich, 18D was Burt, 18E was Bernice. I want to rename the files, a few or a lot, depending, to Betty01.jpg, Betty02.jpg, Betty03, Betty04, Robert02, Robert03, Robert05, Robert09, etc.

IrfanView wants to change the number-names to 1, 2, 3, 4; 1, 2, 3, 4. I want the number-names to remain the same.

As I said before, if this is easily done on antp, please ignore.

Bless you. Rich

Posted: 2010-04-26 09:17:26
by antp
I am not sure to understand what you want.
You can replace a text by another; "18A" by "Betty" in all names, for example, if it is what you ask...

Copy names to Word

Posted: 2010-04-27 23:37:15
by 20rdj04
I don't normally ask questions before I have an idea of what I am talking about. As I said in my initial post, if the program is easily understood, please ignore :)

When I float over the button marked 'Remove All,' the help indicates 'Remove All Files.' I very definitely do NOT want to remove the files!! I've been highlighting the file names, and pressing the Delete key, which seems to work properly.

Off to another tangent - is there a way to copy the names from the images and put into a (Word) document, most likely ASCII (txt) or RTF?

Bless you.

Rich

Posted: 2010-04-28 14:35:02
by antp
Remove means remove from the list. Else I would have labelled the button "delete" :D (note that in the description shown at the bottom of the window when hovering the button, it mentions that they are removed from the list)

It is easy to make a list of files from a command line, but to do it in windows the easiest way is to make a "list.cmd" file with notepad (for example) in which you put :
dir "%1" > list.txt
then drag & drop a folder on that .cmd file and it will generate a list.txt file with the contents of the folder (file generated in parent folder of the one you drag & drop).
if you only want names without details :
dir "%1" /b > list.txt