Quantcast
Channel: File Services and Storage forum
Viewing all articles
Browse latest Browse all 13565

How to delete Folders and Files older than 10 day ?

$
0
0

If I use this below command, I am able to delete only the files and files in sub-folders older than 10 day,

forfiles /p "D:\Testing\Sample" /s /d -10 /c "cmd /c del /s /q @file"

Please help...

Thanks


Viewing all articles
Browse latest Browse all 13565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>