Clear Win7 cookie tips

  
 

Cookies are generated by the server and sent to the user's browser. The browser saves the key/value of the cookie to a text file in a directory. Once the personal account is logged into the website, it will generate a local system. Cookie records, in order to clear these cookies, you have to rely on the account to delete, but this operation is very troublesome, so for the problem of clearing Win7 cookies, Xiaobian here to introduce a direct clear all users The method of cookies.

How to operate:

1, first open Notepad, then copy the following to Notepad:

echo off

color 0a

cd

cls

::Title is cleaning up cookies and browser junk files under all accounts of this machine

dir “%SystemDrive%\\Documents and Settings \\” /ad/b 》%SystemDrive%\\DirTmp.txt

for /f %%a in (%SystemDrive%\\DirTmp.txt) do del /f /s /q “%SystemDrive% \\Documents and Settings\\%%a\\Cookies\\*.*”&del /f /s /q “%SystemDrive%\\Documents and Settings\\%%a\\Local Settings\\Temporary Internet Files\\*.*&rdquo ;

del /f /q %SystemDrive%\\DirTmp.txt

pause

2, then click on the “file” menu in Notepad and select “Save as ” command;

3, in the pop-up dialog box, first select “ save type & rdquo; for & ldquo; all files & rdquo;, then enter the file in & ldquo; file name & rdquo; Name, end with .bat, and finally click “Save” button;

4, then find and double-click the saved .bat File, in the pop-up window, you can see that the current program is automatically cleaning up the cookie files under all accounts in Computer
;

5, at this time you open “My Computer” Under the root directory of the C drive, you should be able to see a DirTmp.txt file. This file is generated by our program. It is the account that has been logged in to this machine. We can delete it manually!

The most stupid way to clear cookies is to open each account separately and delete it. However, such an operation is time-consuming and labor-intensive. After the introduction of the above methods, as long as you master a trick, clear the Win7 cookie. Then the problem is simple and convenient.

Copyright © Windows knowledge All Rights Reserved