One Script change Many File Extensions

Опубликовано: 08 Май 2026
на канале: Edward Wallace
95
1

Change the file extension of 100's of Images or documents
This video will show you how easy it is to change not 1 but hundreds even thousands of images using this one .bat file. For example, you can change an image with .JPG to .jpg. Or you can convert from .jpg to .png. Any file format you need to convert, can be done using this method.

Follow on Social Media:
Facebook:   / ew.techtalk  
X: Twitter: @EWTechtalk

Source Code:

@echo Off

Set "source_folder=C:\Images"
Set "destination_folder=C:\Images\Image Copy"

pushd "%Source_folder%"

For %%a in (*.jpg) do (

echo Copying and Converting "%%a" ...

copy "%%a" "%destination_folder%\%%~na.JPG"


)

popd

echo Done!

Pause