Skip to content

Commands

Juan Aranda edited this page Aug 20, 2021 · 1 revision
  • Delete files older than #days

change variable -d 365 to you desired amount of days

forfiles -p "C:\Users\username" -s -m *.* -d -365 -c "cmd /c echo @file"

Clone this wiki locally