Hello,
i need help with deleting some folders in the Firefox History.
The script works fine so far but deletes too much.
IF EXIST "C:\Users\" (
for /D %%x in ("C:\Users\*") do (
del /f /s /q "%%x\AppData\Local\Mozilla\Firefox\Profiles\*"
)
--> It deletes everything in \Profiles -> Users loose their Settings like starting-Page.
What it should do is something like:
del /f /s /q "%%x\AppData\Local\Mozilla\Firefox\Profiles\*\ONLY the Folders\
-> How to set a working wildcard on the "*" position?
Thanks for help!
Wildcard Needed In Batch
Moderator: DosItHelp
Re: Wildcard Needed In Batch
Use another FOR /D as an inner loop.