Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for /d %i in (Диск:\Твой\Путь\к\Папочке\с\Папочками\ПапочкаСПапочками\*) do ( cd "%i" & forfiles /S /M *.* /C "cmd /c rename @file "%~nxi"@file" & for /d %k in ("%i"\*) do (cd "%k" & forfiles /S /M *.* /C "cmd /c rename @file "%~nxk"@file"))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement