I would like to rename the name and the extension of all files which are located in the a certain directories and its subdirectories to a random combination of 25 alphamuneric signs (letters and figures) which is equal to the filename. The fileextension should be ".TEST"
I have found the following script which only renames in a parent directory and the it only changes the name to a random integer.
@ echo off
setlocal EnableDelayedExpansion
for %%F in ("%userprofile%\music\*.*") do (
ren "%%~F" "!RANDOM!.test"
)
endlocal
So how to do it with all child directories and the combination of letters and numbers?