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

来源:互联网 发布:2017淘宝店铺类目修改 编辑:程序博客网 时间:2024/05/03 21:59
 

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

原创粉丝点击