w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Run a batch file that would delete files in a folder (and its sub folders) that are older then 30 days

I did some copy and paste for you from here:

forfiles -p "C:whatever" -s -m *.* /D -30 /C "cmd /c del @path"

See forfile documentation for more details.





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.