I try to delete the files of the download folders of several users at once.
This is the code:
ForFiles /p "C:\Users\jp\desktop\test\%\" /s /d -30 /c "cmd /c del /q @file"
In the test folder there are multiply other folders and in this folders are 2 files one older then 30 days one younger.
I think my problem is the % character.
Does anyone have an idea?