As a developer, how should I use the special folders in Windows Vista (and Windows 7)?

后端 未结 5 713
野的像风
野的像风 2020-12-05 04:53

Where should I save data related to my application? Where should I save configuration files? Where should I save temporary files? Should I do it in \"Documents\"? \"AppData\

5条回答
  •  长情又很酷
    2020-12-05 05:28

    AppData should be automatic configuration and profiles, documents should only be user saved files. I would put anything that could be useful in multiple systems in AppData/Roaming, and anything else (machine specific) in AppData/Local or LocalLow. For temporary files, use the Temp directory.

提交回复
热议问题