Jump to content
Sign in to follow this  
albertlee

About Windows Registry.......

Recommended Posts

So, dave, is there any information on the layout about adjusting the configuration file?

 

Albert

Share this post


Link to post
Share on other sites

Well just open one up and have a look around. Usually the layout is pretty standard and they're not hard to figure out. Just don't save any changes you make unless you either like breaking things or you know what you're doing ;)

Share this post


Link to post
Share on other sites

dave, as far as I aware, the standard and commands pretty much look like MS-DOS..:)

 

Is it related?

 

Albert

Share this post


Link to post
Share on other sites

Not really. They're just configuration files.

Share this post


Link to post
Share on other sites

Ummmmm... :rolleyes:

 

then how can the programmers know how to do configuration files for their programs? Do they all have to try on it one by one?

 

Any way , I think there must be some tools/information about it.... :)

 

 

Albert

Share this post


Link to post
Share on other sites

The configuration file is just a file with a pre-determined (usually by the programmer) template. It's pretty simplistic in syntax so that the function used to read the file is easy to code (and hence it's easy to store settings to disk). Windows programs tend to use the registry for this though.

Share this post


Link to post
Share on other sites

OK, so, is there any information about it,still? although the syntax is easy, but the functions are too many.....

 

One of the function I know is [autorun] which is used for burning into a CD, but I think there are plenty of them which are useful..

 

Can any body tell me any reference on the function of .ini files?

 

Albert

Share this post


Link to post
Share on other sites

thx, Dave, that links provide information about the syntax.....:)

 

And more over,

 

Does any one know any place to find the reference of all the functions about ini files?

 

Albert

Share this post


Link to post
Share on other sites

Are you wanting to know so you can enable/disable something, such as EAX etc or just know for the sake of knowing ? If your wanting to do something, it would be easier for us to just tell you how to do it. But I agree with everything Dave has said.

Share this post


Link to post
Share on other sites
thx' date=' Dave, that links provide information about the syntax.....:)

 

And more over,

 

[b']Does any one know any place to find the reference of all the functions about ini files?[/b]

 

Albert

 

There's far too many ini files hanging around windows to list what every single one does. You're better off looking at individual cases.

Share this post


Link to post
Share on other sites

I mean, not to list all the ini files and tell me what are they used for... :embarass:

 

but what I want to know is, where to find the refernce about all its sections ([xxx])? in order to make/edit our own ini files which works as we want? :)

 

Albert

Share this post


Link to post
Share on other sites

An INI file stores data inherant to one specific application or program.

 

If you want to make your own INI file, then it's pretty much useless without an application to go with it.

Share this post


Link to post
Share on other sites

Well then, if some one makes a program, then how can he/she makes his/her own ini file without any reference?

 

Secondly, then which program is running for autorun.ini?

 

Albert

Share this post


Link to post
Share on other sites

I guess a part of explorer.exe handles autorun.ini.

 

If you want to make your own program, making an ini file is not exactly the hardest of issues. They have set format, but you basically fill in the gaps so if you read up on the format then it's pretty easy to create one.

Share this post


Link to post
Share on other sites

Ok, that is what I am always asking....

 

although, you know the format, then how are you going to apply the format to use the function, if you dont know any section ([xxx]), then all I know is just plain syntax.....

 

It is quite helpless really....

 

Any idea?

 

Albert

Share this post


Link to post
Share on other sites

In each section [x], the programmer decides what the 'x' is, and creates variables that fit under the section. That's all there is to it.

Share this post


Link to post
Share on other sites

but, when I am programming in Java, my tutor never tell me anything using Java to do ini files....

 

which programming language is likely using ini files? either VB or C or all the .Net programming language?

 

Albert

Share this post


Link to post
Share on other sites

Any language can use INI files if you are prepared to write a function to parse them.

Share this post


Link to post
Share on other sites

(providing, of course, the programmming language can read a file on the filesystem)

Share this post


Link to post
Share on other sites

Although I am not quite understanding that.....

 

still, I never find a use on ini files when I am programming in Java......

 

Since ini files are used for configuration for applications, why applications need ini files? what is ini file really used for?

 

Albert

Share this post


Link to post
Share on other sites

Storing settings that the application uses. For example, if you tick a box in the preferences of a program, then the program "remembers" this by saving it to an ini file.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.