@ the filename that follows is the name of a file list
d: drive which xdel is to search
path directory where search is to begin
filename.ext file to be deleted (wildcards allowed)
/D remove empty subdirectories
/N delete specified files with no warning (careful!)
/O overwrite before deleting - file contents PERMANENTLY LOST
/P prompt before deleting each file
/R delete read-only files
/S delete files in subdirectories
Multiple files may be specified on the command line.作者: kaixinguo 时间: 2005-12-27 08:33 用这个批处理就可以了。
dir /ad/b/s c:\ |sort /r >c:\kill.txt
For /f "tokens=*" %%i in (c:\kill.txt) DO rd "%%i"
del c:\kill.txt作者: maji 时间: 2005-12-27 08:38 3楼高啊,又学到一招!作者: wl00560 时间: 2005-12-27 16:23 谢谢3楼的兄弟,问题解决。