I try in my batch file o delete folder(BR) with many files and subdirectories, I try the following:

**if exist C:\BR (
rmdir "C:\BR" /S /q 
)**

but sometimes I get an error that a specific folder is not empty.these folder contains files of CSS.
what the problem??