具體參數
DelEmpty.exe OPTIONS [PATH]
The following OPTIONS are available for use in the command:
-f delete files of size zero
-d delete empty directories
-v verbose mode
-c confirm mode (Shows what was deleted)
-s include sub-directories
-l list what would be deleted (lowercase L – does not actually delete the empty folders or empty files)
-y delete without (y/n) prompt
我使用如下命令清除盤下沒個具體的文件夾及其子文件夾和空文件
F:\>DelEmpty.exe -d -s -f -c -y e:\Vis
加入計劃任務使其每天自動執行檢查
參考文檔:https://www.howtogeek.com/122294/automatically-clean-out-and-remove-empty-files-and-folders/
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。