Sunday, April 14, 2013

Delete files in a directory that is older than specified

Delete all files in C:\temp which was older than 04/14/2013.
c:\temp> forfiles /D -04/13/2013 -c "cmd /c rmdir /s /q @file"

No comments:

Install Winget on Windows 2022 or Windows 10 LSTC

Install Winget on Windows 2022 or Windows 10 LTSC Install Pre-reqs Install Microsoft.UI.Xaml/2.8.6 Navigate to https://www.nuget.org/pa...