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

  
HOME ► Faq ► FAQ - Windows cmd.exe Command-Prompt ► ««« »»»

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: 14 June 2022 18:57 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

Fast start for cmd.exe (Windows Console)?


The fastest way to run or start the command prompt in every Windows System, is via RUN-Dialog in Windows 11, 10, and MS Server. Please start via Keyboard-Shortcut
Windows-Console

Console command to see IP Address, how to on all Windows OS?


Find Your IP Address Quickly in every Windows OS, the solution is to simple for every User Account on Windows 11, 10, . and MS Server Please start the
Windows-Console

Delete and Overwrite permanently?


The solution is simple to Delete and Overwrite files and folder permanently in  Windows 11, 10, and MS Server OS Please feel free and use cipher for
Windows-Console

How to scans all protected system files (command-line)?


The solution to scan all protected system files and replaces incorrect versions with correct Microsoft versions in all Windows 10, 11, . and Server Systems.

»»

  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

  + 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
  + OnlyStopWatch
  + KeepMouseSpeedOK
  + NonCompressibleFiles
  + 4ur-Windows-8-Mouse-Balls
  + 12-Ants
  + Q-Dir
  + DirPrintOK
  + FontViewOK
  + MeinPlatz
  + PAD-s


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

 © 2022 by Nenad Hrg softwareok.de • softwareok.com • softwareok.com • softwareok.eu
0.062


► Disable no limit scrolling via the Windows Task-Bar, is optionally! ◄ ► The Don't Sleep Video! ◄ ► How can I burn a BIN image file? ◄ ► Change your password / disable it on Windows (all OS)? ◄ ► Is OneLoupe a magnifier with Windows dual monitors support? ◄ ► The quick preview in File Explorer on Windows 11 and 10! ◄ ► Bug with time zones / summer time! ◄ ► Is my Windows User a Microsoft Account or a Local command line query! ◄
This website uses cookies to ensure you get the best experience on our website more Infos & Privacy Policy
....