Renaming Files
Last site update: 8 May 2024
Irfanview
Irfanview is an image viewer and editor but has built in batch renaming that works on any files, not just images.
- Open a file in Irfanview: press
o
. - Use
b
to open the batch rename dialogue box. - Click the
batch rename
radio button (top left) - Press the
options
button to choose your renaming parameters. - Use
$N
for the original name. You can change strings of text to other strings.
Good for changing spaces in files to hyphens.
Changing capitals to lowercase was very hit and miss but a much better way is the following.
Changing to lowercase using Windows
With a command prompt you can type the following from inside the directory you wish to change the file names:
1for /f "Tokens=*" %f in ('dir /l/b/a-d') do (rename "%f" "%f")
Simple to use as above but see Superuser article for details on how this works.