@echo off
set p=D:\logs
pushd %p%
forfiles -s -m *.* -d -7 -c "cmd /c del @path"
转载于:https://blog.51cto.com/chend/1865800
@echo off
set p=D:\logs
pushd %p%
forfiles -s -m *.* -d -7 -c "cmd /c del @path"
转载于:https://blog.51cto.com/chend/1865800