联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\{645FF040-5081-101B-9F08-00AA002F954E}] @="清空回收站" [HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\Empty Recycle Bin] @="{645FF040-5081-101B-9F08-00AA002F954E}" [HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\Empty Recycle Bin] @="{645FF040-5081-101B-9F08-00AA002F954E}" [HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers\Empty Recycle Bin] @="{645FF040-5081-101B-9F08-00AA002F954E}" HKEY_CLASSES_ROOT\Folder\shellex\ContextMenuHandlers\Empty Recycle Bin] @="{645FF040-5081-101B-9F08-00AA002F954E}"
@echo off for /f "delims=驱动器A" %%i in ('fsutil fsinfo drives^|find /v ""') do cd\&%%i&cd recycled&&call :lp echo 回收站已清空 pause>nul&goto :eof :lp for /f "delims=" %%i in ('dir /b') do del /q *.*>nul&rd /s /q %%i>nul
Originally posted by ixxxxyou at 2008-5-17 08:41 PM: 还是不能解决清空回收站的问题!!! 找到以下批处理: @echo off attrib -r -h -s %systemdrive%\recycled\desktop.ini move %systemdrive%\recycled\desktop.ini c:\ del /f /q %syste ...
@echo off for %%a in (c d e f g h i j k l m n o p q r s t u v w x y z) do ( attrib -r -h -s %%a:\recycled\desktop.ini move %%a:\recycled\desktop.ini c:\ del /f /q %%a:\recycled\*.* move c:\desktop.ini %%a:\recycled attrib +r +h +s desktop.ini )