Hi all,
I have an INI file that I need to read at compile time (i.e. when the exe is created).
I want to read the file and store everything as a (global?) variable so I can access it later and write registry keys from the values.
Unfortunately, I don't know how to read/store at compile time, especially since the INI file doesn't have any section headings. I can't call functions at compile time, can I? How would I go about doing this?
Thanks for the help! Cheers!
Edit: I suppose I essentially want to read from an ini file and set environment variables or something? But lots of them, like 250+?
Compile time reading ini file
3 posts
I think that could be done with !searchparse.
For more complicated matters, check this thread on how to run a vbScript at compiletime:
For more complicated matters, check this thread on how to run a vbScript at compiletime:
Hmm, yeah, searchparse did it. Thanks 🙂