How to automatically delete a desktop folder when a Win7 computer shuts down

Source: Internet
Author: User

1, first in the desktop space right mouse click Select "New--text document", and then enter "Del folder path/q" (relative path);

2, then save the file as "Clear folder Lhj.bat" (this is equivalent to a new empty system file);

3, then prepare to run work, first click "Start-run", in the Run dialog box enter "Gpedit.msc" to open the "Local Group Policy Editor";

4, open the window in turn "Computer Configuration" →windows configuration → script, in the right side of the window to find and double-click the "Shutdown", select "Add → browse → find the above saved bat file, and then click OK."

Note : More wonderful tutorials Please pay attention to the triple computer tutorial section, triple Computer office group: 189034526 welcome you to join

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.