Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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"
Source by ss64.com #
 
PREVIOUS NEXT
Tagged: #cmd #rename #multiple #files
ADD COMMENT
Topic
Name
7+8 =