English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I'm looking for a software that will rename multiple images for me in a consecutive order. The problem is is that it will have to rename them in a consecutive order without a 0 in front of the rest of the numbers.

If the software detects that I will be renaming 10-99 images, Image 1-9 will be "01, 02, 03" and etc. And if I'm renaming 100-999 it will be "001, 002, 003" and etc. And like I stated earlier, I need a software that wont add that 0.

Now If I just had to change the first ten numbers from "01" to "1" that wouldn't be a problem. But I'm renaming batches of images that are as big as 1000+.

Thanks!

2007-05-14 10:17:17 · 2 answers · asked by Ohls 1 in Computers & Internet Software

2 answers

Seeing that you haven't had any other answers, I'll throw this option out to you. It won't be a simple solution but it would work. (NOTE: Much easier to do this on an operating system with more sophisticated scripting)

1) From MS DOS, do a directory listing and pipe the results into a text file: (using the "/b" flag to get a bare list)
- dir /b *.jpg > myList.txt

2) In notepad, verify that you don't have any extraneous file information (shouldn't be there but easy to clear out if needed)

3) Read that file into MS Excel and move the results to column 2

4) In column 1, add the text "rename"

5) In column 3, row 1, enter the number "1"

6) In column 3, row 2, enter the equation to increment from the above row by 1

7) Copy the value in column 3, row 2 for every file entry name (easy to paste to all rows as needed)

8) In column 4, enter .jpg (or the image format you are working with) for every row

9) In column 5, concatenate the values from column 3 and column 4

10) Export column 1, 2, and 5 with spaces to a file and call it rename.bat (or something similar).

11) Verify that the file looks like it will rename the files as you wish.

12) Execute the script.

This of course wouldn't be a great solution if you have to do this repeatedly but if this is for a few times, you can use something like this. An alternate would be to look at scripting a solution yourself. PERL, C#, Java, etc... would all do this and you should be able to find some pretty easy examples to take a directory for input and let it go ahead and handle renaming for you.

2007-05-14 10:50:13 · answer #1 · answered by Jim Maryland 7 · 0 0

Hold the Ctrl key down while you click on each item in the list.

2016-05-18 01:22:24 · answer #2 · answered by millicent 3 · 0 0

fedest.com, questions and answers