Page 1 of 1
File Renaming for a Tired Person
Posted: 27 May 2017 20:36
by platypus
I've mastered many complex apps, but I don't want or need an app that looks like the attached
image. I'd have to slog through several dozen options to accomplish a simple task.
Let's say I've got 100 jpeg images in a folder. I rename the first listed file 1035.jpg. I need an
applet or batch file that will follow my lead and rename the other 99 files 1036.jpg, 1037.jpg,
1038.jpg, etc.
That's all I want to do. Isn't there something simple that will do the job, or must I download a
renaming app with a zillion options?
Re: File Renaming for a Tired Person
Posted: 27 May 2017 20:45
by ShadowThief
How does it know the order of the images? What are the images currently named?
Re: File Renaming for a Tired Person
Posted: 28 May 2017 02:30
by Aacini
Your question is incomplete. There are several points that are not correctly specified.
The Batch file below rename
all files in current folder with the extension given by first parameter, into a series of numeric files starting with the number given in second parameter:
Code: Select all
@echo off
setlocal EnableDelayedExpansion
set "num=%2"
for /F "delims=" %%a in ('dir /B /A:-D %1') do (
ren "%%a" "!num!%%~Xa"
set /A num+=1
)
For example, if you call "renNum.bat" this Batch file, you may use it in this way:
If this is not what you want, I suggest you to carefully read the very first sticky topic in this forum.
Antonio
Re: File Renaming for a Tired Person
Posted: 28 May 2017 20:21
by platypus
I really was very tired when I posted. I apologize for not providing more info about these
image files.
For many years I created scripts that automated repetitive processes for my business. I'm
an advanced computer user with a batch renaming phobia! I'm not kidding. There are certain
computer tasks I've always avoided. File renaming jobs are given to a business partner or
employee.
My sister gave me a huge pile of disorganized images. They are all about family and friends,
so they are definitely not business related. If you google something like "simple basic file
renaming apps" the same two or three always appear at the top of the list. The reviews say,
"very good" or "excellent" help file. When I have the time, I'll download one of these apps.
Re: File Renaming for a Tired Person
Posted: 29 May 2017 05:05
by elzooilogico