I have several websites configured in one folder, and I want to create a batch file that will delete the cache in each of them, without having to add a new line for each site. For example, I use this:
del /S /QD:\www\site-name\cache\*
Which works, but I have to add a new line for each site in D:\www . The del command does not support:
del /S /QD:\www\*\cache\*
So what is the best way to do this?
wildcard dos batch-file
jeff1234567890
source share