1.

Solve : Adding some words end of multiple files?

Answer» HI, i want to rename multiple rar FILES by adding some words at end of filename.

ABC.rar > ABC-sheeper.rar
123.rar > 123-sheeper.rar
qwe.rar > qwe-sheeper.rar

how can i do it by ONE bat file, i want to say rename all rar files to original names plus -sheeper for example.

Thank you for help!In a BATCH script:

Code: [Select]for %%A in (*.rar) do ren %%~dpnxA %%~nA-sheeper%%~xA
At the prompt:

Code: [Select]for %A in (*.rar) do ren %~dpnxA %~nA-sheeper%~xA


Discussion

No Comment Found