![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-08-05 02:08 |
48,038 topics / 350,123 posts / today 0 new / 48,251 members |
| DOS批处理 & 脚本技术(批处理室) » What batch processing command can completely delete the IE browser cache? |
| Printable Version 1,943 / 13 |
| Floor1 gene771771 | Posted 2006-12-17 00:40 |
| 初级用户 Posts 77 Credits 105 From 重庆 | |
|
What batch command can be used to completely delete the IE browser cache?
The path of IE cache is %userprofile%\Local Settings\Temporary Internet Files\ The following batch processing cannot clear the IE cache: del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*" The following also doesn't work, only a small part can be deleted: del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\" Please ask the experts for guidance, what batch command can be used to completely delete all files in the IE cache? Supplementary: You can first use Tskill or Taskkill to end Iexplore, but I have tried it and still can't delete it... [ Last edited by gene771771 on 2006-12-16 at 11:57 AM ] |
|
| Floor2 redtek | Posted 2006-12-17 00:49 |
| 金牌会员 Posts 1,147 Credits 2,902 | |
|
There are files in the IE browser cache that are being opened by the system, so they can't be deleted~ :)
|
|
| Floor3 gene771771 | Posted 2006-12-17 00:58 |
| 初级用户 Posts 77 Credits 105 From 重庆 | |
|
You can first use Tskill or Taskkill to end Iexplore, but I tried it and still can't delete it...
|
|
| Floor4 electronixtar | Posted 2006-12-17 01:07 |
| 铂金会员 Posts 2,672 Credits 7,493 | |
| Floor5 HUNRYBECKY | Posted 2007-02-19 23:49 |
| 银牌会员 Posts 442 Credits 1,179 | |
|
The RD command cannot completely delete it, there are always some remaining things, it should be possible under pure DOS.
|
|
| Floor6 electronixtar | Posted 2007-02-19 23:59 |
| 铂金会员 Posts 2,672 Credits 7,493 | |
|
The index.dat cannot be deleted, while others can be.
|
|
| Floor7 HUNRYBECKY | Posted 2007-02-20 00:05 |
| 银牌会员 Posts 442 Credits 1,179 | |
|
Well, yes, if I don't end EXPLORER and the antivirus software here, it seems that even the qualified HTML files can't be cleared.
|
|
| Floor8 slore | Posted 2007-02-20 00:53 |
| 铂金会员 Posts 2,478 Credits 5,212 | |
|
In addition to index.dat
del /s /q /f "D:\Temporary Internet Files\Content.ie5\" |
|
| Floor9 HUNRYBECKY | Posted 2007-02-20 02:52 |
| 银牌会员 Posts 442 Credits 1,179 | |
Originally posted by slore at 2007-2-20 00:53: You only specified Temporary Internet Files, and /S in DEL already includes SUB directories, so it can be cleared. Just some files cannot be cleared because they are in use. This Content.ie5 is very annoying, and it contains garbage files and viruses from browsing the web. |
|
| Floor10 slore | Posted 2007-02-20 03:38 |
| 铂金会员 Posts 2,478 Credits 5,212 | |
|
There are no files under Temporary Internet Files... You can do a dir to see... But with dir /ad you can see the content.ie5 directory.
The files in that directory themselves can be said to be a kind of shortcut, but different from lnk files... The cookies inside point to the files in the cookies folder, and other files point to the files in content.ie5. |
|
| Floor11 loneself | Posted 2007-06-16 01:16 |
| 新手上路 Posts 1 Credits 2 | |
|
The problem hasn't been solved yet. Waiting for an expert!
|
|
| Floor12 pooloo | Posted 2007-06-16 08:58 |
| 初级用户 Posts 33 Credits 62 | |
|
This line must work:
for /f "delims=" %%i in ('dir "%userprofile%\Local Settings\Temporary Internet Files\*.*" /s/b') do del /f/q "%%i" [ Last edited by pooloo on 2007-6-16 at 09:14 AM ] |
|
| Floor13 joshualaw | Posted 2007-06-18 14:29 |
| 初级用户 Posts 62 Credits 132 | |
Originally posted by pooloo at 2007-6-16 08:58 AM: Still not working, waiting for an expert to guide |
|
| Floor14 xg911335 | Posted 2007-06-18 14:39 |
| 初级用户 Posts 50 Credits 134 | |
|
Me too. If the first object to be deleted has "index.dat" on it. It will stop here. The background one seems not to be deleted.
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |