从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