06-16-2015 09:57 AM
Looking for the best practices method using the appdata folder for the windows operating systems 7x and later.
Labview contains some default file path tools, such as temporary filepath which navigates to %USERPROFILE%\AppData\Local\Temp\
Is there a method to access just %USERPROFILE%\AppData\"application name" for compiled applications?
What would be the best method of programmatically setting the default appdata folder for an application?
Solved! Go to Solution.
06-17-2015 10:21 AM
Eximo,
I’m having a little trouble understanding exactly what you are asking. If you wish to access the file path that the application is located in you can use the application directory block. If you just want the AppData folder you can use the Get System Directory VI as detailed in the following article.
http://zone.ni.com/reference/en-XX/help/371361H-01/glang/get_system_directory/
You may experience issues when accessing this folder with the popup file browser because the AppData folder was change to a junction in Windows 7 and later versions. You can read more about this change at the following links.
http://windows.microsoft.com/en-us/windows-8/what-appdata-folder
06-17-2015 11:49 AM
That had article had all the answers! THANK YOU