如何读取ini文件到另一个ini文件的路径 [英] How to read the path to an ini file to another ini file

查看:80
本文介绍了如何读取ini文件到另一个ini文件的路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我有这个部分的xxx.ini文件和本节中写的这条路径:

[Serial]

ConfigPath = c:\ Work\Test \\\ _v1_01\02源代码\ Test.ini

如何阅读此路径?并使用它来访问test.ini文件,我必须从中获取一些数据并将其插入CStringList?

请给我一个示例代码:)谢谢!

So i have this xxx.ini file with this sectionand this path written in this section:
[Serial]
ConfigPath = c:\Work\Test\v1_01\02 Source code\Test.ini
how do i read this path ? and use it to acces the test.ini file from where i have to take some data and insert it into a CStringList?
Please show me a example code :) thank you!

推荐答案

我昨天在这个问题上给了你这个问题的答案:读取一个文件的路径另一个文件 [ ^ ]。请不要重新发布同样的问题;如果您有更多信息,请编辑您的原件并回复提供建议解决方案的人。
I gave you the answer to this question yesterday at: Reading frome one file the path of another file[^]. Please do not repost the same question; if you have further information then edit your original and respond to people who have offered suggested solutions.


这篇关于如何读取ini文件到另一个ini文件的路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆