什么是ini文件,以及如何使用它? [英] what is ini files and how to use that?

查看:343
本文介绍了什么是ini文件,以及如何使用它?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的朋友们

我有一个Java培训光盘,此光盘的根目录中有一个ini文件.

该文件包含以下语法:

[.ShellClassInfo]
InfoTip =包含便携式应用程序文件和应用程序数据.
IconFile =.\ PortableApps.com \ App \ DefaultData \ FolderIcons \ portableapps.ico
IconIndex = 0


这是vb或c#之类的语言吗?
如何在C#中使用它?

换句话说,什么是ini文件,我在编程中可以在哪里使用它们?

msdn或其他地方有完整的参考资料吗?

请指导我.

在此先感谢.

Hi my friends

I have a training cd of java , there is an ini file in the root of this cd.

This file contains this syntax :

[.ShellClassInfo]
InfoTip=Contains portable app files and application data.
IconFile=.\PortableApps.com\App\DefaultData\FolderIcons\portableapps.ico
IconIndex=0


Is this a language like vb or c#?
How can i use that in c#??

In other word , what is ini files and where can i use them in programming?

Is there any full reference in msdn or any where else to learn?

Please guide me.

Thanks in Advance.

推荐答案



它与Java没有任何关系.它提到了显示特征
问候,
shefeek
Hi,

it does not have a connection with java.It mention about the display characteristics
regards,
shefeek


希望 [
Hope this[^] might help you.


其中是您帖子中的ini文件,那些是您提到的Windows中的图标文件.
Ini文件不是程序,它们仅存储配置数据.
您可以用任何语言阅读它们.

在C#中找到有关处理ini文件的CP文章(已标记C#)

使用C#的INI文件处理类 [
Where is ini file in your post, those are icon file in windows that you have mentioned.
Ini files are not programs they just store config data.
you can read them in any language.

Find the CP article on handling ini file in C#(as you have tagged C#)

An INI file handling class using C#[^]


这篇关于什么是ini文件,以及如何使用它?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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