Created
April 8, 2018 13:00
-
-
Save Delivator/a4e0d2f926c4ca2fe974ee65aa2bc948 to your computer and use it in GitHub Desktop.
Adds a "_1" to all files in the own directory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
for %%a in (*.*) do if not "%%a"=="%~nx0" ( | |
echo Renaming %%~a in %%~na_1%%~xa | |
ren "%%~a" "%%~na_1%%~xa" | |
) | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment