CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 1999
    Posts
    1

    Environment Variables

    I need to create/set an environment variable in NT 4.0 Workstation. Any suggestions?


  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: Environment Variables

    there is a SetEnvironmentVariable API.
    Be aware, that you can only set an env.var. for the current process with that API call.


  3. #3
    Join Date
    Nov 1999
    Location
    Berks, UK
    Posts
    5

    Re: Environment Variables

    Hi,

    Just trying to do the same thing myself and found your post.

    Try looking at support.microsoft.com/support/kb/articles/Q104/0/11.ASP

    that's the HOWTO on Propogating Environment Variables to the System...

    Best Regards,

    Jon.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured