T
T
Talent Artelov2018-07-07 12:54:40
Automation
Talent Artelov, 2018-07-07 12:54:40

How to add an extension to a file name (automate)?

There is a folder with subfolders. Within subfolders, there are files with .jpg extension and files without extension.
It is necessary to add the extension .jpg to files without extension.
Please tell me how you can automate / optimize this procedure without opening each folder.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
G
GavriKos, 2018-07-07
@artelow

TotalCommander has a very good batch rename utility, and an equally good search that can be renamed.

V
Vadim Choporov, 2018-07-07
@tolstyiii

PowerShell.

K
Konstantin Tsvetkov, 2018-07-07
@tsklab

You can add to all: file.jpg.jpg will still remain jpg.
forfiles /?

A
ApeCoder, 2018-07-07
@ApeCoder

Run powershell and paste this command
This command will write those renames that it will implement. Recursively starting from the current folder. If the result suits you, you need to remove -WhatIf and run it again. She will rename

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question