How to automatically delete desktop folder when win7 computer shuts down

  
1. First right click on the blank space in the desktop and select “New--Text Document”, then enter ““del folder path/q” (relative path);
2, then save the file as “ldquo;clear” Folder lhj.bat” (This is equivalent to a new one to clear the system file);
3, then ready to run the work, first click & ldquo; start - run & rdquo;, enter "ldped; gpedit in the run dialog box .msc”Enter to open “Local Group Policy Editor>;

4, in the open window, open “computer configuration ”→windows configuration → script, in the right side of the window Find and double-click “Shutdown”, select “Add →Browse → find the bat file saved above, then click OK.
Copyright © Windows knowledge All Rights Reserved