LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

Before you submit code to the Code Repository, please make sure you have read the following:
Introduction - Submission Guidelines - Submission Procedure - (post questions here)

  Search Files 

> Windows Environment Variable Reader Writer

Screenshot
File Information
File Name Windows Environment Variable Reader Writer by hooovahh
Submitted Oct 30 2006, 07:06 PM
Last Updated Nov 2 2006, 07:27 PM
File Type File Type (zip - application/zip)
Screenshot Click here for full screenshot
Statistics
File Size 56.83K (Estimated Download Times)
Views 2935
Downloads 392
Add Rating
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.
Other Information
Support Topic Click here to visit support topic
File Version 1.0.0
LabVIEW Version 8.2.x
License Lesser GNU Public License
Operations
Approved by Michael_Aivaliotis on Nov 2 2006, 05:54 PM
Download File

Search Files 

Collapse

> Code Repository Statistics

Last ten submissions accepted · Downloads system statistics 
2 user(s) active in the past 15 minutes
Active Users 2 guests, 0 members, 0 anonymous members
Code Repository Statistics
Board Stats 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