in reply to Updating Microsoft Windows (win32) environment variables

Could you clarify what you mean? If you want to change them for every bootup, you can toss this into your AUTOEXEC.BAT:
PATH=%PATH%;C:\h
If you're just talking about for the current program, you can modify %ENV. Or are you talking about modifying it for whoever runs your script?