Is there a windows setting/registry entry that i can modify that will speed up the putenv function.
Don't ask why but I have to set 502 environment variables. On some PC's/OS's it is very quick on others it takes about 10-12 seconds. Most of the time the OS is win xp sp 2 with about the same processor speed and memory. i cant seem to find the magic setting/option.