How to set up the earth win7 system to automatically clean up the computer junk files when you shut down

  

1. First, right click on the blank space on the computer desktop and select “New & mdash;—text document”, and then type in the open text document. Del folder path /q” (relative path);

2, then save the text document as “clear folder lhj.bat” (note the .bat suffix);

3, then press ""WIN+R” on the keyboard to open the "Run" window, enter the "gpedit.msc" and press Enter to open the local Group Policy Editor;

4, and then Open & ldquo; computer configuration & mdash; & mdash; windows configuration & mdash; & mdash; script & mdash; & mdash; double-click shutdown & rdquo;, in the open shutdown properties interface, click & ldquo; add & mdash; & mdash; browse & rdquo;, find the bat saved above File, click & ldquo; OK & rdquo; Save and exit the Group Policy Editor.

Copyright © Windows knowledge All Rights Reserved