Hi Dimitra P,
The easy way to do this is using a third-party application Métamorphose. This is a very useful application to batch rename files and folders.
Disclaimer: Microsoft provides no assurances and/or warranties, implied or otherwise, and is not responsible for the information you receive from the third-party linked sites or any support related to technology.
After installing the application, open it.
- On the Picker tab, insert the folder path to your files that you need to rename then click OK.
- On the Main tab:
- Tick Extension.
- Tick Search.
- Text:
.file - Replace with (blank to delete):
.jpg - Click Go! to do the rename task. Please note that this action cannot be undone.
I hope that above information is helpful to you.