2022年12月19日
摘要: 删除语句如下, /d -7 表示创建在7天前的文件,可以是 /d -100 表示100天前。 set "cur_path=%~dp0" set "del_path=%cur_path%\logs\" forfiles /p %del_path% /m *.log /d -7 /c "cmd /c d 阅读全文
posted @ 2022-12-19 17:00 Dawn.Break 阅读(504) 评论(0) 推荐(0)