|FOR %%a IN (*.jpg) DO (|
CALL SET Var=%%Var:)=aaaa%%
CALL REN "%%a" "%%Var%%.jpg"
Im replacing all filename with an ) with aaaa using the above code. How can I alter the code to ensure it does it for all files inside subfolders as well
. Currently it only changes files in the folder from where the batch gets run. Thanks.