VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Set Environment Variable using SetEnvironmentVariable API

by Karthikeyan (187 Submissions)
Category: Windows API Call/Explanation
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Wed 1st August 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Set Environment Variable using SetEnvironmentVariable API

Rate Set Environment Variable using SetEnvironmentVariable API



Dim rvl As Long
rvl = SetEnvironmentVariable("TEMP", "C:\windows\temp")
rvl = SetEnvironmentVariable("PATH", "C:\windows;C:\windows\command")
End
End Sub

Download this snippet    Add to My Saved Code

Set Environment Variable using SetEnvironmentVariable API Comments

No comments have been posted about Set Environment Variable using SetEnvironmentVariable API. Why not be the first to post a comment about Set Environment Variable using SetEnvironmentVariable API.

Post your comment

Subject:
Message:
0/1000 characters