如何创建按计划删除文件夹的批处理脚本? [英] How do I create a batch script that will delete a folder on a scheduled basis?
本文介绍了如何创建按计划删除文件夹的批处理脚本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
- 如何编写批处理文件以从文件夹中删除 5 天或更早的文件?
- 编写批处理文件以从文件夹中删除 6 天前的文件
- 编写批处理文件以从文件夹中删除 5 天以前的文件
- 如何编写批处理文件来定时删除文件夹和文件?
- 编写批处理文件以按日期和时间删除文件夹.
- 编写脚本以从文件夹中删除比当前日期早 5 天的文件
如何创建将按计划删除文件夹的批处理脚本?
How do I create a batch script that will delete a folder on a scheduled basis?
推荐答案
编写批处理脚本删除文件
Write a batch script to delete the file
rd <YOURDIR>
然后在 Windows 任务中安排它.
and then schedule it in Windows Tasks.
这篇关于如何创建按计划删除文件夹的批处理脚本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文