How to remove file from multiple directories

December 4, 2009 at 09:52:06
Specs: Windows XP
I have a problem. I use this code:

del "%userprofile%\Local Settings\Application
Data\Activision\CoDWaW\players\profiles\\con
fig_mp.cfg"

after profiles\ there is lots of directories and I
have to get batch that will delete config_mp.cfg
from every folder. Not just one.
I mean I can use that code like this:

del "%userprofile%\Local Settings\Application
Data\Activision\CoDWaW\players\profiles\Sna
ppy\config_mp.cfg" and it deletes
config_mp.cfg from that profile, but i need
somekind of code that will delete
config_mp.cfg from every folder. There is
Snappy, DolD, RagBag, etc profiles. Please
help! I have been using lots of time in this and
can't get it work =(


See More: How to remove file from multiple directories

Report •


#1
December 4, 2009 at 10:00:54
del /s "%userprofile%\Local Settings\Application Data\Activision\CoDWaW\players\profiles\config_mp.cfg"


Report •
Related Solutions


Ask Question