What is the difference between ProgramData and AppData?

前端 未结 2 876
离开以前
离开以前 2020-12-02 14:06

I need to store some user-specific configuration data for my program. Both Application Data/AppData (in the user\'s directory) and ProgramData (in the root of the system dr

2条回答
  •  一整个雨季
    2020-12-02 14:49

    I think you should put all user specific files into appdata since it is located in

    C:\Users\UserName\AppData
    

    and Programdata is not specific to the user. It could be used, I think, to share data of your program when used by different users.

    see this stackoverflow question

提交回复
热议问题