1. Create a new folder temp, enter this folder, create desktop.ini file, edit the content as follows:
; Folder icons [.ShellClassInfo] ; Remarks Setting folder InfoTip = the this IS the TEMP File ; displays the name of the limitations of the resource name, modify the file, but the original file name unchanged LocalizedResourceName = MyTempFilePRo ; order setting icon of IconIndex = mainicon ; position setting icon IconFile =% USERPROFILE% \ Desktop \ bitbug_favicon.ico ; folder bACKGROUND [ExtShellFolderViews] [{BE098140 -A513-11D0-A3A4- 00C04FD706EC}] ; custom image background IconArea_Image =% USERPROFILE% \ Desktop \ TEMP. JPG ; color definition text IconArea_Text = 0x000000FF ; marking the folder owner [DeleteOnCopy] owner=Temp ;备注 PersonalizedName=My Temp file [ViewState] Mode= Vid= FolderType=Generic
2. hidden desktop.ini file
attrib +h temp/desktop.ini
3. Refresh folder and set the type of system
attrib +s temp
At this point will automatically refresh
Reference documents: https://baike.baidu.com/item/desktop.ini