如何用命令行清空Windows回收站?

 

The command line to empty Recycle Bin looks something like this :

ATTRIB %systemdrive%\RECYCLER\* -R -S -H /S /D
RD %systemdrive%\RECYCLER /S /Q

Put the above in a batch file, and that's it..

Sometimes RD won't do it's job, so to be safer side follow these :

ATTRIB %systemdrive%\RECYCLER\* -R -S -H /S /D
DEL %systemdrive%\RECYCLER\* /F /S /Q
RD %systemdrive%\RECYCLER /S /Q

相关推荐
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页