views:

222

answers:

1

Hi,

This question is w.r.t this http://stackoverflow.com/questions/171588/is-there-a-command-to-refresh-environment-variables-from-the-command-prompt-in where you had posted a comment in which we could avoid using the batch file. It would really help if you can show the complete example. Thanks.

A: 

See on Win32 api group

for the official method (MS) to refresh environment variables