Windows Environment Variable Reader Writer
Before you submit code to the Code Repository, please make sure you have read the following:
Introduction - Submission Guidelines - Submission Procedure - (post questions here)
|
Windows Environment Variable Reader Writer
|
|
|||||||||||||||||||||||
|
|
||||||||||||||||||||||
Purpose: This Vi was made so that you can easily view and create environment variables from within Windows XP. Features: You are able to read all environment variables which you have available to you at the command prompt by typing "set". It also can write environment variables by writing them to the registry in the following location: HKEY_CURRENT_USER\Environment Also for added safty it will check the name you are trying to use, and won't allow its creation if a variable with that name already exists. Usage: To use this VI you need to be using Labview version 8.20. With Labview 8.20 installed open the VariableReadWrite.vi file, then click run. While it's running open the View Variables tab and click "Refresh Variables" to view all your command prompt variables. Two String arrays are created, the Name of the variables, and their values. A text window is also displaying what the user would see if they typed "set" at a command prompt. To create a variable open the Create Variables tab and fill in the information for Variable Name and Variable Value; then click Create Variable. Please note that you may need to log off then back on for the new variable to take effect. If needed there is a "Run Regedit" button which will open the registry. From here you can see the newly created variables in the location mentioned in the Features section. When you are done click stop to end the program. |
|||||||||||||||||||||||
|
|
||||||||||||||||||||||
| Approved by Michael_Aivaliotis on Nov 2 2006, 05:54 PM | |||||||||||||||||||||||
|
Code Repository Statistics
| Last ten submissions accepted · Downloads system statistics | |
| 2 user(s) active in the past 15 minutes | |
![]() |
2 guests, 0 members, 0 anonymous members |
| Code Repository Statistics | |
![]() |
We have a total of 74 files in 13 categories A total of 40 unique authors have submitted to our site There have been 28747 logged downloads to date The latest file submitted was Skype SDK by Antoine Châlons (submitted Dec 24 2008, 09:44 AM) |
| Time is now: 6th January 2009 - 09:28 PM |