现在的位置: 首页 > 综合 > 正文

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

2013年02月12日 ⁄ 综合 ⁄ 共 314字 ⁄ 字号 评论关闭

 

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

抱歉!评论已关闭.