Pet Peeve # 49,253

After all of these years, the Win32 API still does not provide a mechanism for updating a System or User Environment Variable.

1 Comment

  • Thanks Jerry for the link to Brad's article. I somehow missed that post... (Odd! I read Brad's posts religiously!) I'm kinda surprised they got it into .NET 2.0, but NOT Longhorn. (Well, I guess it's time to look at the Longhorn beta MSDN webpages to be sure about that!)



    But this still doesn't help me with my korn shell script I've gotta kludge tomorrow. NUTS! (Just what I always wanted to do: edit the registry and issue broadcast messages from within a shell script. I think I'm going to be sick! This'll teach me to port KSH scripts from Solaris to SFU, instead of rewriting them in Perl or Python!)

Comments have been disabled for this content.