Batch

Windows Batch for renaming files extensions

Sometimes you need some batches for doing stuff like appending extension to existing files or removing extension from existing files
After googleing as I'm not good in CMD scripting I manged to write both renameToOld.bat and undo-renameToOld.bat batches
which rename all the files found in a specific folder to *.old and reverse operation by removing the .old extension from the files found in a specific folder.

for renameToOld.bat :
@ECHO OFF

REM
REM Remove the double quotes from the front and end of the root path
REM

Powered by Drupal - Design by artinet