rename all files in folder code example
Example 1: cmd rename multiple files
# EXAMPLE: add "_zzz" to the name of each file found within the "G:\Deletable\" folder
for /d %F in ("G:\Deletable\*") do rename "%F" "%~nF_zzz%~xF"
# SYNTAX
# for <your-options> %F in ("<root-directory>\*") do rename "%F" "%~n#<your-text-to-add>%~xF"
Example 2: rename all files in a folder command line
for file in Picture*.jpg
do
mv "$file" "vacation-$file"
done