LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to read system root from registry

Hi all,

 

I read system temp from registry, and it gives me "%SystemRoot%\TEMP".  Then where can I get system root then?

 

thanks for any help.

 

 

0 Kudos
Message 1 of 5
(2,862 Views)

What about  Get System Directory VI for the system directory (or Temporary Directory Function for the temporary directory)?

0 Kudos
Message 2 of 5
(2,854 Views)

 Temporary Directory Function returns user temp path, not system temp.

 

I am using Labview 8.5, couldn't find Get System Directory VI .

 

Thanks.

0 Kudos
Message 3 of 5
(2,839 Views)

 You can use either System Exec or call the ExpandEnvironmentStrings function in the Windows API. See attached example (LV 8.2)

Download All
0 Kudos
Message 4 of 5
(2,819 Views)

great. thank you.

0 Kudos
Message 5 of 5
(2,806 Views)