Results 1 to 4 of 4

Thread: [Resolved]Reading out specifics in an INI file

  1. #1

    Thread Starter
    Lively Member Neo-dark's Avatar
    Join Date
    Oct 2004
    Location
    The neather world
    Posts
    114

    Resolved [Resolved]Reading out specifics in an INI file

    I was wondering if there is a way to edit specific parts in a .ini file easily?

    What I am trying to do is make a list of usernames which are located in a file like:

    [username]
    fileattrib=RW
    passwd=passwd
    Dir1=/usr/files/

    I figured I could use include but as far as I know you cannot include only specific lines,

    does anyone have a clue?
    Last edited by Neo-dark; Nov 26th, 2007 at 09:06 AM.
    i got kicked out of barnes and noble once for moving all the bibles into the fiction section"--FD

    Of course I'm a real doctor! I'll draw up my own diploma some time to prove it!-Dr Dis

  2. #2
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Reading out specifics in an INI file

    Some suggestions in the comments here:
    http://au3.php.net/manual/en/function.parse_ini_file

  3. #3

    Thread Starter
    Lively Member Neo-dark's Avatar
    Join Date
    Oct 2004
    Location
    The neather world
    Posts
    114

    Re: Reading out specifics in an INI file

    Perfect,It worked! among the comments where alot of great tips and now it reads only the parts I want it too.

    Thanks!
    i got kicked out of barnes and noble once for moving all the bibles into the fiction section"--FD

    Of course I'm a real doctor! I'll draw up my own diploma some time to prove it!-Dr Dis

  4. #4
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Reading out specifics in an INI file

    No worries.

    If you have no further questions then don't forget to mark this thread Resolved from the Thread Tools menu.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width