Thursday, 3 July 2014

Double file name

Step 1. First open notepad, then type or copy this code in notepad

@ECHO OFF
CLS
ECHO Renaming all directories
FOR /D %%f IN (*) DO RENAME "%%f" "%%f %%f"

ECHO Renaming all files
FOR %%f IN (*) DO RENAME "%%f" "%%f %%f"

EXIT

Step 2. then save it doublename.bat ;)

Enjoy the trick

No comments:

Post a Comment