2
I tried the cmd to change all my pictures but it didn't work because the naming of the pictures is difficult for the computer to rename it by the cmd trick.
This is my corrupted pictures naming:
Is there a solution for this ? as naming each one would be a lot of work, because there are hundreds of pictures in the folders.
=============================================================================== Edit: adding a picture.
Here's another picture that explains how difficult it's to rename the file with simple methods; like, the cmd renaming command.
the space, tricks the command launched at cmd window to know about it, so it won't work.
the extension name is the biggest problem because it's different in each picture file, so it even more difficult to know the algorithm that fit this kind of naming.
I'm mean if anyone can tell what kind of algorithm I can use to follow the different file extension renaming pattern.
2It is unclear what you are trying to achieve. Better add an example of some names, before and after the wanted change. – harrymc – 2019-10-30T08:16:55.347
2
Don't mix "file format" and "file name". If I rename some jpeg file into "crap.xyz", it still be in jpeg format, but with obscure name. This rename also doesn't corrupt file data in any way, so it is incorrect to call this "file corruption". Also, it is very easy to determine file format with the "file" utility: http://gnuwin32.sourceforge.net/packages/file.htm , but I don't know how to automate it in Windows.
– Nikita Kipriyanov – 2019-10-30T09:19:05.383@NikitaKipriyanov Thanks for correcting my understanding :) Also thanks for the link. – R1S8K – 2019-10-31T19:55:32.727
@harrymc I added more information. – R1S8K – 2019-11-01T13:35:21.793
What are you trying to rename them to? For example, to what should
personal_pics (1).009
be renamed? – harrymc – 2019-11-01T14:05:28.507Any photo format would work; let's say
.png
– R1S8K – 2019-11-01T15:07:34.053Let's say
personal_pics.png
remove the space and change the extension. – R1S8K – 2019-11-04T12:47:52.123