Try like this :
Create a file test.bat with the code below in it and replace the path to test in the var $path
@echo off
set $path="C:\Users\CN Micros\Desktop\PROGRAMMATION\test"
for /f "tokens=1-3 delims=^(^)" %%a in ('dir /b/a-d %$path%') do (
if exist %$path%\"%%a(%%b)%%c" echo ren %$path%\"%%a(%%b)%%c" "%%a%%c"
)
pause
Then run it in the CMD or by double clicking.
If the output is ok for you remove the echo
The program create 3 tokens : %%a
= what's before the (), %%b
What's inside the () and %%c
what's after the ().
Then we arrange this 3 tokens to rename the files without the ().
If you have some file who have the same final name ie : "file(1)name"
, "file(2)name"
--> "filename"
It will work only with the first one. If you have this case you have to add a counter at the end of file to be sure that they will be renamed.