I know there are several similar topics on this, but none that exactly fit my situation. I need to delete a directory and all subfolders here: c:\Users\%%\AppData\Local\virt-viewer
The %% being the wildcard user.
I have tried FOR /D %X IN ("c:\Users\*\AppData\Local\virt-viewer") DO RD /S /Q "%X" in a command prompt (doubling the % in a batch), but nothing has worked yet.