batch rename files

Shell
REM # |EXAMPLE: Replace ")" with "_" within the filenames in the current directory    
@echo off
setlocal EnableDelayedExpansion
set "pattern_to_replace=("
set "replace_text=_"

for %%N in ("*") do (

	set "InitName=%%N"
	call set NewName=%%InitName:!pattern_to_replace!=!replace_text!%%
	rename "!InitName!" "!NewName!"
)

@echo on
Source

Also in Shell: