change file extension multiple files in a folder using command prompt windows

change file extension multiple files in a folder using command prompt windows


If we need to change extension of 1000 files in folder,  just navigate to the folder in command prompt.For example we need to change .txt to .mp3 in [test folder] in C Drive.Step 1: Navigate to test folder in C drive in command promptC:\>cd test folder

Step 2: Execute the below rename command to rename all 1000 .mp3 files into .txt 
C:\Test Folder>rename *.mp3 *.txt

Once you execute above rename command all the files extensions in folder are now changed from .mp3 to .txt.

No comments:

Post a Comment