Copy and paste the following (but don't include the "last updated"
line!) into C:\bat\DelWinCk.bat
Note that the filename used for this subroutine bat must be as
specified, because it is called from others.
if not exist c:\Windows\Cookies\nul goto WINTINT
cd\Windows\Cookies
if not exist *.* goto WINTINT
cd
c:\Windows\Command\Attrib -h *.*
c:\Windows\Command\Attrib -r *.*
del .
if not exist *.* goto DONWCK
echo Files remaining in c:\Windows\Cookies:
dir /b
echo Hidden files in c:\Windows\Cookies (if any):
dir /ah /b
:DONWCK
echo.
:WINTINT
if not exist c:\Windows\Tempor~1\nul goto END
REM "Temporary Internet Files"
cd\Windows\Tempor~1
if not exist *.* goto TRYCACH
cd
c:\Windows\Command\Attrib -h *.*
c:\Windows\Command\Attrib -r *.*
del .
:TRYCACH
if not exist Cache1\nul goto END
echo Deleting Caches in...
cd
if exist Cache1\nul c:\windows\command\deltree /Y Cache1
if exist Cache2\nul c:\windows\command\deltree /Y Cache2
if exist Cache3\nul c:\windows\command\deltree /Y Cache3
if exist Cache4\nul c:\windows\command\deltree /Y Cache4
if exist Cache1\nul Cache 1 still exists!
if exist Cache2\nul Cache 2 still exists!
if exist Cache3\nul Cache 3 still exists!
if exist Cache4\nul Cache 4 still exists!
if exist Cache5\nul echo More cache(s) still exist!
echo.
:END
last updated May 30: added listing of any files
remaining
in c:\Windows\Cookies
March 29, 2003