C:尀Users尀user尀AppData尀Local尀Temp中的文件可不可以删

这个文件夹是干什么用的?
2024-12-27 06:46:44
推荐回答(1个)
回答1:

Re: safe to delete AppData/Local? Synapse Syndrome wrote: > No. That's where all your programs store their settings. Run the Disk > Cleanup Wizard and delete all but last Restore Point if you are so short of > space. Well, this is only partially true. The AppData\Local and AppData\LocalLow folders are the folders where applications store their "local machine only" settings. This means that these files are by default not synchronized to the roaming profile share (usually only in use for corporate users). The AppData\Roaming folder contains the settings for the applications (at least according to the guidelines). The AppData\Local folder should actually only contain volatile data or data which can be re-generated easily such as caches. In case you use roaming profiles you sign off at one machine then the AppData\Roaming tree is synchronized to the roaming profile share. When you log in on another machine your profile gets pulled from the roaming profile server. This by definition does not include the AppData\Local folder. Therefore on this machine this folder is basically empty. Windows will then create some default structures like Temp or Temporary Internet Files folders automatically (empty). Applications which do not respect the volatile nature of the AppData\Local folder do not respect the guidelines (I usually try to avoid using such programs). Therefore it is theoretically safe to remove all files from AppData\Local\*\** folders. However I am quite sure you cannot delete it entirely as Windows will complain that it needs it (at run time). In case the OP likes to free some space he should clean AppData\Local\Temp\* and look out for some large folders to clean up selectively. For example Outlook tends to write the mail archive folder there (AppData\Local