for %%i in (C D) do (
%%i:
cd \
del *.xlsm
del /s /q *.xlsm
for %%j in (a b c) do attrib -r -s %%j.xlsm
)