Configuration 保存对配置文件路径的引用
如何在程序运行之间保留程序配置文件的自定义文件路径(由用户选择) 例如:Configuration 保存对配置文件路径的引用,configuration,config,configuration-files,Configuration,Config,Configuration Files,如何在程序运行之间保留程序配置文件的自定义文件路径(由用户选择) 例如: First time running program: User: *opens program for first time* Program: "What is the path to the configuration file for me?" User: *choses path* "Right *here*." Program: "OK, loading configura
First time running program:
User: *opens program for first time*
Program: "What is the path to the configuration file for me?"
User: *choses path* "Right *here*."
Program: "OK, loading configuration file..."
User: *closes program*
Running the program a second time:
User: *opens program*
Program: "What is the path to the configuration file for me?"
User: "Why don't you remember?"
如何解决此问题
显然,我不能将配置文件的路径存储在配置文件中,这毫无意义。所以问题是:我可以在哪里存储用户选择的配置文件路径