Already have an account? Sign in here. MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Windows Server forfiles.
Share More sharing options Followers 0. Recommended Posts. Posted May 14, By continuing to browse, you are agreeing to our use of cookies as explained in our Privacy Policy. I Agree. How Do I Fix Forfiles. OS Windows 10 Windows 8. How To Fix forfiles. Recommendation: Scan your PC for forfiles.
Connect Blog Facebook Twitter Newsletter. This tiny script deletes matching files that are older than 5 days, or more precisely said, that have been modified at least 6 days ago, but always keeps at least the 5 most recently modified ones:.
Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. How to use forfiles or similar to delete files older than n days, but always leaving most recent n Ask Question. Asked 11 years, 8 months ago. Active 2 years, 7 months ago. Viewed 9k times. Using Windows and Server We use forfiles. Improve this question. Aidan Whitehall Aidan Whitehall 1 1 gold badge 4 4 silver badges 10 10 bronze badges.
Add a comment.
0コメント