rename that sub directory in command prompt code example
Example: batch rename files in subfolders
REM # |EXAMPLE: Replace ")" with "_" within the filenames in the current directory AND its subdirectories
@echo off
setlocal EnableDelayedExpansion
set "pattern_to_replace=)"
set "replace_text=_"
for /R "%cd%" %%N in ("*") do (
set "InitName=%%~nN%%~xN"
call set NewName=%%InitName:!pattern_to_replace!=!replace_text!%%
rename "%%~dN\%%~pN!InitName!" "!NewName!"
)
@echo on