... DO (
SET "oldName=%%a"
SET "newName=!oldName: (Copy)=!"
ECHO Rename !oldName! to !newName!
REM RENAME "!oldName!" "!newName!"
)
Save the file
Return to the command prompt and type rename.bat
This ...
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies. Read more about our Privacy Policy.