LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to get environmental variables

How do I get the environmental variables?

Is there a LabView function or should I use the Call Library Function node?

   ...Dan
0 Kudos
Message 1 of 4
(2,673 Views)

Here is a thread with an example of reading an enviroment variable.

http://forums.ni.com/ni/board/message?board.id=170&message.id=134779&query.id=67352#M134779

 

Dan Armstrong

0 Kudos
Message 2 of 4
(2,668 Views)
Thanks, but the results are "C:\DOCUME~1\danny\LOCALS~1\Temp" for %TEMP%  when Win XP has it as "C:\Documents and Settings\danny\Local Settings\Temp".  Does anyone have an NT-type solution?
0 Kudos
Message 3 of 4
(2,668 Views)
Maybe you could read it out of the registry or with a .vbs script.
0 Kudos
Message 4 of 4
(2,662 Views)