![]() Command strings should be wrapped in double quotes. C "command" - This command specifies the command to execute on each file that will be found. P - To indicate the path to start the search. For example,-365 means over a year ago, -30 means a month ago. D - Select files with a last modified date. ![]() S - This switch makes forfiles recurse subdirectories. ![]() This command selects a file (or a set of files) and executes a command on that file. In my previous article, Find Large Files in Windows 10 Without Third-Party Tools, we have learned about the useful ForFiles console command. Delete Files Older Than X Days with a Batch File clean up the Downloads folder on a periodic basis, you should use either the command prompt or PowerShell methods. If you need to automate the procedure, e.g. This method is good for deleting files manually once in a while. This way you can filter the results to get exactly what you want. You can click on a date and drag to specify a date range. Pick a date or condition from the calendar pop-up. This will make File Explorer show the date picker. Instead of 'datemodified', you could use 'datecreated' to find files in a specific date range.Īlternatively, you can type the date related parameter and enter a colon character (:). All you need is to type the desired filter condition in the search box of File Explorer as follows: datemodified. Tip: You can use your own, custom size filters. Alternatively, you can right-click the selection and choose Delete from the context menu. Select the files you don't need, and press the Delete key to delete files. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |