In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article will explain in detail how to clean up IE and use historical bat code. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.
The code is as follows:
@ echo off
Title: IE temporary file deleter
Echo is clearing Internet temporary files.
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8
Echo clears Cookies
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2
Echo clear History
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1
Echo clears form data
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16
Echo clear password
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32
Echo clears all of the above items
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255
Echo clears all of the above items and the various data saved by the add-ins used in IE7
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351
Msg * your useless files have been crashed,master.
Pause
How can batch processing clean up the traces of use of the XP system?
Under the xp system, can batch processing be used to clean up usage traces?
IE use trace system use trace software use trace and so on.
I searched several on the Internet, but I didn't feel very good.
Do not want to use the software to clean up, just want to run the bat file, automatically clean up.
Is there a bat batch to clean up the traces in Angel. Rar?
Ygqiang Lieutenant Rank: 5Rank: 5 posts 356 points 803 Technology 1 donation 0 Registration time 2010-4-18 2nd floor
Published on 2011-4-8 14:03 | look at the author only
Actually, I mainly want to clean up the trace of the Internet.
Bat files downloaded from the Internet. No.
This software, clean up more thoroughly!
The code is as follows:
@ echo off
Mode con cols=50 lines=15
Echo will be cleaned in 10 seconds. Please close the browser first.
Ping-n 10 127.1 > nul 2 > nul
Cls
Echo cleanup is in progress, please wait.
Del / f / s / Q% temp%\ *. > nul 2 > nul
Del / f / s / Q "% userprofile%\ locals~1\ tempor~1\ *. *" > nul 2 > nul
Del / f / s / Q "% systemdirve%\ recycled\ *. *" > nul 2 > nul
Del / f / s / Q "% userprofile%\ recent\ *. *" > nul 2 > nul
Del / f / s / Q "% userprofile%\ cookies\ *. *" > nul 2 > nul
Del / f / s / Q "% userprofile%\ locals~1\ history\ *. *" > nul 2 > nul
Echo y | reg delete "HKEY_CURRENT_USER\ SOFTWARE\ Microsoft\ Internet Explorer\ TypedURLS" > nul 2 > nul
Echo y | reg delete "HKEY_CURRENT_USER\ SOFTWARE\ Microsoft\ Windows\ CurrentVersion\ internet settings\ 5.0\ cache\ extensible cache" > nul 2 > nul
Cls
After cleaning up the echo, press any key to exit
Pause > nul
The following code is optimized to record cleanup log information, etc.
The code is as follows:
@ echo off
Color 0a
Mode con cols=100 lines=350
Echo date% time%
Set time1=%time::=%
Set file=%time1:~,8%
Echo is about to be cleaned. Please close the browser first.
Set / p=cls%file%.log 2 > clsErr%file%.log
Set / p a = are you sure to continue cleaning? (Ybig N)
If / I not "% a%" = = "y" goto: end
Echo cleanup is in progress, please wait.
Echo-start cleaning:% temp%\ *. * > cls%file%.log
Del / f / s / Q% temp%\ *. * > cls%file%.log 2 > > clsErr%file%.log
Del / f / s / Q "% userprofile%\ locals~1\ tempor~1\ *. *" > cls%file%.log 2 > > clsErr%file%.log
Del / f / s / Q "% systemdirve%\ recycled\ *. *" > cls%file%.log 2 > > clsErr%file%.log
Del / f / s / Q "% userprofile%\ recent\ *. *" > cls%file%.log 2 > > clsErr%file%.log
Del / f / s / Q "% userprofile%\ cookies\ *. *" > cls%file%.log 2 > > clsErr%file%.log
Del / f / s / Q "% userprofile%\ locals~1\ history\ *. *" > cls%file%.log 2 > > clsErr%file%.log
Echo-start cleaning: registry information > > cls%file%.log
Echo y | reg delete "HKEY_CURRENT_USER\ SOFTWARE\ Microsoft\ Internet Explorer\ TypedURLS" > > cls%file%.log 2 > > clsErr%file%.log
Echo y | reg delete "HKEY_CURRENT_USER\ SOFTWARE\ Microsoft\ Windows\ CurrentVersion\ internet settings\ 5.0\ cache\ extensible cache" > cls%file%.log 2 > > clsErr%file%.log
After cleaning up the echo, press any key to exit
: end
Pause
Found two files.
But can you put these two files into a bat batch file or a reg file?
1. Completely block the history .ini
The contents of the document are:
The code is as follows:
HKEY_CURRENT_USER\ Software\ Microsoft\ Internet Explorer\ TypedURLs
HKEY_CURRENT_USER\ Software\ Microsoft\ Internet Explorer\ Main
"Save_Session_History_On_Exit" = "yes"
HKEY_CURRENT_USER\ Software\ Microsoft\ Internet Explorer\ TypedURLs [8]
2. Completely block the history. Bat
The contents of the document are:
The code is as follows:
Reg add "HKCU\ Software\ Microsoft\ Windows\ CurrentVersion\ Explorer\ User Shell Folders" / f / v "History" / t REG_EXPAND_SZ / d "% USERPROFILE%%\ Local Settings\ History//\"
Regini completely blocks the history .ini
Solve the problem with 1 bat batch.
The code is as follows:
Delete Internet records
Reg add "HKCU\ Software\ Microsoft\ Windows\ CurrentVersion\ Explorer\ User Shell Folders" / f / v "History" / t REG_EXPAND_SZ / d "% USERPROFILE%%\ Local Settings\ History//\"
Reg add "HKEY_CURRENT_USER\ Software\ Microsoft\ Internet Explorer\ TypedURLs"
Reg add "HKEY_CURRENT_USER\ Software\ Microsoft\ Internet Explorer\ Main" / f / v "Save_Session_History_On_Exit" / t REG_SZ / d "yes"
Echo HKEY_CURRENT_USER\ Software\ Microsoft\ Internet Explorer\ TypedURL [8] > tmp.ini
Regini tmp.ini
If "% ERRORLEVEL%" = = "0" del tmp.ini
The above can block the "history" of ie browsers.
This is the end of this article on "how to clean up IE and use historical bat code". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.