-1
I have folder, that contains a lot of subfolders. Each subfolder contains folder with name __pycache__
.
How to remove folders with name __pycache__
in each subfolder from command line in Windows?
Thank you!
-1
I have folder, that contains a lot of subfolders. Each subfolder contains folder with name __pycache__
.
How to remove folders with name __pycache__
in each subfolder from command line in Windows?
Thank you!
0
Solved with
for /d /r . %%d in (__pycache__) do @if exist "%%d" echo "%%d" && rd /s/q "%%d"
http://stackoverflow.com/questions/521382/command-line-tool-to-delete-folder-with-a-specified-name-recursively-in-windows/521433#521433 – None – 2017-03-14T20:23:40.853
Please note that https://superuser.com is not a free script/code writing service. If you tell us what you have tried so far (include the scripts/code you are already using) and where you are stuck then we can try to help with specific problems. You should also read How do I ask a good question?.
– DavidPostill – 2017-03-14T22:49:38.227