从INI文件中调用Ini文件(会话的导入值) [英] Calling an Ini file from an INI file (import values for session)

查看:166
本文介绍了从INI文件中调用Ini文件(会话的导入值)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在使用程序freeCommander时,它将使用ini文件进行初始化.我想为我的自定义工具提取3个部分,并让oem.ini文件从附加的自定义ini中读取这些值,

这样可以更轻松地更新和导出到程序的其他会话

在批处理文件中,我可以:调用自定义ini

其中一部分列出了工具,作为单独的部分,其中大约有30个

In using a program, freeCommander, it initializes with an ini file. I want to take 3 sections out for my customized tools, and have the oem.ini file read these values from the attached custom ini,

This is make it easier to update and export to other sessions of the program

in a batch file I could just: Call custom ini

One of the sections enumerates the tools, as individual sections, of which I have about 30

推荐答案

当您建议批处理文件时,我认为这就是您的意思.很舒服.
因此,在批处理文件中,您可以编写
As you are suggesting batch files, I assume this is what you''re comfortable with.
So in a batch file you could write
copy IniFile1.ini + IniFile2.ini + IniFile3.ini FreeCommander.ini


这会将3个ini文件附加在一起并保存为FreeCommander.ini


This will append the 3 ini files together and save it as FreeCommander.ini


您不能调用" INI文件,因为这不是代码,也不是函数,方法或过程. >
—SA
You cannot "call" INI file because this is not code and not a function, method or procedure.

—SA


这篇关于从INI文件中调用Ini文件(会话的导入值)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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