docs: 更新文章内容
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: Windows forfiles 命令
|
||||
title: "Windows forfiles 命令"
|
||||
date: 2025-03-16T16:07:42Z
|
||||
lastmod: 2025-03-16T16:08:11Z
|
||||
tags: [Windows,命令,命令提示符]
|
||||
@@ -94,11 +94,11 @@ FORFILES /S /C "cmd /C ECHO @relpath"
|
||||
FORFILES /P <文件路径> /M <搜索掩码> /S /C "cmd /C IF @isdir==FALSE DEL @path /F /Q" /D <文件日期>
|
||||
```
|
||||
|
||||
> **<文件路径>** 示例:`"D:\Example\Folder"`、`".\Example\Folder"`
|
||||
> **<文件路径>** 示例:`"D:\Example\Folder"`、`".\Example\Folder"`
|
||||
>
|
||||
> **<搜索掩码>** 示例:`*.exe`、`*.png`、`*.txt`
|
||||
> **<搜索掩码>** 示例:`*.exe`、`*.png`、`*.txt`
|
||||
>
|
||||
> **<文件日期>** 示例:`-100`(100 天前)、`-200`(200 天前)、`-365`(365 天前)
|
||||
> **<文件日期>** 示例:`-100`(100 天前)、`-200`(200 天前)、`-365`(365 天前)
|
||||
|
||||
## 相关链接
|
||||
|
||||
|
Reference in New Issue
Block a user