Software-OK
≡... News | ... Home | ... FAQ | Impressum | Contact | Listed at | Thank you |

  
HOME ► Faq ► FAQ - Command Prompt - Windows 11, 10, etc. ► ««« »»»

Rename JPEG to JPG via command line, but how?


Sometimes you just want to rename JPEG to JPG to keep things in order, you can do that easily from the command line on MS Windows Desktop and Server OS!




If a folder repeatedly contains relevant files, you can create a rename_JPG.bat and start it with a simple double-click. Or place it in the Windows Autostart folder to automate it so it always runs on reboot!



Contents:

1.) ... Here is a simple example in the command prompt!
2.) ... From the address line in File Explorer and others too!
3.) ... Other related tips related to renaming and ... such!




1.) Here is a simple example in the command prompt!

1. Open the folder in the command prompt with the files to be renamed
To do this: ►►Open the command prompt in the desired directory

2. Use the following command:

To rename JPEG to JPG 

forfiles /S /M *.jpeg /C "cmd /c rename @file @fname.jpg"



To rename JPG to JPEG 

forfiles /S /M *.jpg /C "cmd /c rename @file @fname.jpeg"



To rename JPG to JPEG specifying the directory / path

forfiles /p "C:\Folder\Sub_Folder" /S /M *.jpg /C "cmd /c rename @file @fname.jpeg"


Parameters forfiles:

/S Searches subdirectories recursively, such as "DIR /S".

/P Specification of the directory, if none is specified, the working directory is used 

/M   Searches for files according to a search mask. The default search mask is "*" also known as a wildcard 

To rename you can use rename /? call for help at any time 

2.) From the address line in File Explorer and others too! 

The file explorer and the quad explorer Q-Dir support these commands directly from the address line!  

( ... see Image-1 Point 1 to 3 ) 


(Image-1) Rename JPEG to JPG via address bar in File Explorer!
JPEG to JPG rename via address bar in file explorer!


-
▲ Back to the top ▲





3.) Other related tips related to renaming and...so!



Renaming files is a very common task to do. You can easily rename one or more files with Windows File Explorer, but you can do more with the command prompt cmd.exe or MS PowerShell. There are also third-party renaming programs, but the possibilities on the system itself are endless as well. Take a look at more tips and how they work!


►► Rename files recursively in lower and upper case via the address bar!
►► Tip.. simple multiple renaming in the Explorer views!
►► Delete complete directories with PowerShell and CMD, with examples?
►► Command line to delete temporary files on Windows drives!
►► Search for data sort by date and delete on restart!  
►► REN command to rename files, examples prompt





FAQ 141: Updated on: 26 August 2023 11:00 Windows
Windows-Console

Looking for an example of a sub-function in a batch file?


Sometimes you just want a plain example of a subfunction ergo Sub-Routine in a command prompt batch file to understand how it works The CALL command starts
Windows-Console

Searching in files by string via command prompt?


The classic search in files for a character string via the command prompt is hardly used anymore, but it is still available on Windows 11, 10, In order
Windows-Console

Deleting files with no content using a batch file, but how?


Deleting files without content with a batch file, command prompt, or via the address bar in File Explorer is quite popular Here you can find out. that
Windows-Console

Is there a list of WMIC commands on MS Windows?


It is quite easy to have the MMIC commands listed on all Microsoft Windows desktop and MS servers and to obtain further information WMIC is deprecated The
Windows-Console

Realize dark mode switch with a batch file?


Why not simply implement the dark mode in Microsoft Windows 11 or 10 with a batch file at the push of a button and without an administrator query Everyone
Windows-Console

How and why do command lines work in CMD.EXE?


The command line in CMD.EXE, often also called console or terminal, is a text-based interface within the operating system that can make things a lot easier
Windows-Console

Schedule a webpage to open via the command prompt?


On MS Windows operating systems you can use SCHTASK to open a web page at a specific time, why not when its so easy Here are a few examples for the time-controlled

»»

  My question is not there in the FAQ
Asked questions on this answer:
Keywords: windows, console, rename, jpeg, command, line, sometimes, just, want, keep, things, order, that, easily, from, desktop, server, Questions, Answers, Software




  

  + Freeware
  + Order on the PC
  + File management
  + Automation
  + Office Tools
  + PC testing tools
  + Decoration and fun
  + Desktop-Clocks
  + Security

  + SoftwareOK Pages
  + Micro Staff
  + Freeware-1
  + Freeware-2
  + Freeware-3
  + FAQ
  + Downloads

  + Top
  + Desktop-OK
  + The Quad Explorer
  + Don't Sleep
  + Win-Scan-2-PDF
  + Quick-Text-Past
  + Print Folder Tree
  + Find Same Images
  + Experience-Index-OK
  + Font-View-OK


  + Freeware
  + WinBin2Iso
  + ThisIsMyFile
  + TheAeroClock
  + Bitte.Wenden
  + CoronaKO
  + MatriX.CoronaKO
  + Find.Same.Images.OK
  + 3D.Benchmark.OK
  + PhotoResizerOK
  + PAD-s


Home | Thanks | Contact | Link me | FAQ | Settings | Windows 10 | gc24b | English-AV | Impressum | Translate | PayPal | PAD-s

 © 2025 by Nenad Hrg softwareok.de • softwareok.com • softwareok.com • softwareok.eu


► The ejection of the VHD over the MS Explorer in Windows 8.1 / 10! ◄
► How can i start the paint program in Windows 8.1 or Win 10 (run, open, find)? ◄
► On the notebook / laptop JKL is 123, what can I do? ◄
► Disable the Windows Store in Windows 8.1 / 10, how to? ◄


This website does not store personal data. However, third-party providers are used to display ads,
which are managed by Google and comply with the IAB Transparency and Consent Framework (IAB-TCF).
The CMP ID is 300 and can be individually customized at the bottom of the page.
more Infos & Privacy Policy

....