For example, you could run a system command with the text "echo %VXIPNPPATH% > VXIpath.txt" which will then write the value of the variable to the file named VXIpath.txt.
You can then read the newly created text file to recover the value of the environment variable.
Gruss
Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)