I accidentally created thousands of empty folders on my desktop and it has essentially bricked my windows explorer.
Looking for a cmd
prompt code to remove all of the empty folders.
They all have the number 15
at the beginning of the folder name.
They are labeled consecutively: 15 - 01
, 15 - 02
, etc.
I tried
for /D %f in (15*) do rmdir %f /s
But for each folder, the cmd
prompt says that the
system cannot find the specified file
despite prompting me to choose a yes/no
on deleting the queried folder.
Thanks all, and thank you for the help
I'm using Windows 10 OS.
No comments:
Post a Comment