forfiles

关键命令就这一条了:forfiles.exe /p "D:\Kugou" /m *.tar /d -14 /c "cmd /c del @path"
这条命令的意思就是,搜索D:/Kugou目录下的任意后缀名为tar的文件,查看其日期属性是否为14天之前的(-14表示之前,+14表示之后),然后执行删除命令

 

https://www.jb51.net/article/93970.htm

 

dotnet 执行

forfiles /m *.dll /c "cmd /c dotnet @file"

posted @ 2018-12-27 16:36  czcz1024  阅读(155)  评论(0编辑  收藏  举报