12-01-2010 01:46 PM
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.
12-01-2010 02:19 PM
What about Get System Directory VI for the system directory (or Temporary Directory Function for the temporary directory)?
12-01-2010 03:01 PM
Temporary Directory Function returns user temp path, not system temp.
I am using Labview 8.5, couldn't find Get System Directory VI .
Thanks.
12-01-2010 05:46 PM - edited 12-01-2010 05:48 PM
You can use either System Exec or call the ExpandEnvironmentStrings function in the Windows API. See attached example (LV 8.2)
12-01-2010 06:36 PM
great. thank you.