• Lucid Dreaming - Dream Views




    Results 1 to 4 of 4
    1. #1
      FBI agent Ynot's Avatar
      Join Date
      Oct 2005
      Gender
      Location
      Southend, Essex
      Posts
      4,337
      Likes
      14

      Any Windows Devs here?

      where do you traditionally store things in windows?
      both XP & Vista

      - Global (all users) config files
      - Per user config files

      these are just standard,
      Code:
      [section]
      # comment
      var = value
      type text files
      (no registry, please....)

    2. #2
      Banned
      Join Date
      Apr 2007
      Location
      Out Chasing Rabbits
      Posts
      15,193
      Likes
      935
      /System32
      /System32/User

      Unless it's for a program that is in it's own folder. Then it's System32/Programs/Program_name

      I'm pretty sure you need a Microsoft certification to write to System32 on Vista though so I'm not sure about that.


      What are you storing? If you want to change specific Windows settings then the only way to do it is through the registry.

    3. #3
      FBI agent Ynot's Avatar
      Join Date
      Oct 2005
      Gender
      Location
      Southend, Essex
      Posts
      4,337
      Likes
      14
      my own program,
      rather than tinkering with 3rd party apps

      3 system processes
      1 ties into a web server (similar to how php, etc. do) to serve pages
      2 background daemons (an object pool and a file monitoring process)

      1 userland process (feeds user specific data to web server module)

      just wondering where I can store various settings and stuff
      (developed on *nix, using /etc/my_prog/ for system wide, and ~/user/.my_prog/ for local, and I'm porting it to windows)

      *edit*
      well, not porting as such, but re-jigging so it's OS agnostic)
      Last edited by Ynot; 09-17-2008 at 04:53 AM.

    4. #4
      Wanderer Merlock's Avatar
      Join Date
      Sep 2005
      Gender
      Location
      On a journey
      Posts
      2,039
      Likes
      4
      Well, as far as XP goes, I figure...

      %SystemRoot%\System32 for global configs.
      %TEMP% for user-specific configs...though you'd have to check if the user temp directories get automatically wiped via the system cleaning utility or not and then figure out whether you'd want config files in there or not.

    Bookmarks

    Posting Permissions

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