where do you traditionally store things in windows?
both XP & Vista
- Global (all users) config files
- Per user config files
these are just standard,
type text filesCode:[section]
# comment
var = value
(no registry, please....)
Printable View
where do you traditionally store things in windows?
both XP & Vista
- Global (all users) config files
- Per user config files
these are just standard,
type text filesCode:[section]
# comment
var = value
(no registry, please....)
/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.
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)
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.