<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://labviewwiki.org/w/index.php?action=history&amp;feed=atom&amp;title=Get_System_Directory_function</id>
	<title>Get System Directory function - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://labviewwiki.org/w/index.php?action=history&amp;feed=atom&amp;title=Get_System_Directory_function"/>
	<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Get_System_Directory_function&amp;action=history"/>
	<updated>2026-05-08T11:24:32Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://labviewwiki.org/w/index.php?title=Get_System_Directory_function&amp;diff=31111&amp;oldid=prev</id>
		<title>Q: Added page</title>
		<link rel="alternate" type="text/html" href="https://labviewwiki.org/w/index.php?title=Get_System_Directory_function&amp;diff=31111&amp;oldid=prev"/>
		<updated>2021-06-08T17:48:24Z</updated>

		<summary type="html">&lt;p&gt;Added page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{stub}}&lt;br /&gt;
{{LabVIEW Palette Object Information|palette=Functions Palette/Programming/File I/O/File Constants{{!}}File Constants palette|type=vi|icon=File Constants Palette - Get System Directory.png}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Get System Directory VI&amp;#039;&amp;#039;&amp;#039; returns the system directory specified in the &amp;#039;&amp;#039;&amp;#039;system directory type&amp;#039;&amp;#039;&amp;#039; input.&lt;br /&gt;
&lt;br /&gt;
This VI returns the system directory of the current target, including &amp;#039;&amp;#039;&amp;#039;My Computer&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;(Real-Time Module)&amp;#039;&amp;#039;&amp;#039; You cannot use this VI in VIs that run on RT targets.&lt;br /&gt;
{{TOCright}}&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Data Type&lt;br /&gt;
! Name&lt;br /&gt;
! Description&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
! [[File:I32.png|link=Ring data type]]&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;system directory type&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;system directory type&amp;#039;&amp;#039;&amp;#039; specifies the type of directory you want LabVIEW to retrieve.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
| 0&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;User Home&amp;#039;&amp;#039;&amp;#039;—Directory that contains the personal files of the current user. This directory is a readable and writable directory accessible to a single user of the system.&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;User Desktop&amp;#039;&amp;#039;&amp;#039;—Directory that contains files located on the desktop of the current user. This directory is a readable and writable directory accessible to a single user of the system.&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;User Documents&amp;#039;&amp;#039;&amp;#039;—Default directory for saving the documents of the current user. This directory is a readable and writable directory accessible to a single user of the system.&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;User Application Data&amp;#039;&amp;#039;&amp;#039;—Directory that contains data for the system applications of the current user. This directory is a readable and writable directory accessible to a single user of the system.&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;User Preferences&amp;#039;&amp;#039;&amp;#039;—Directory that contains the preferences for the current user. This directory is a readable and writable directory accessible to a single user of the system.&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;User Temporary&amp;#039;&amp;#039;&amp;#039;—Directory that holds temporary files for the current user. This directory is a readable and writable directory accessible to a single user of the system. You cannot change the path to this temporary directory.&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Public Documents&amp;#039;&amp;#039;&amp;#039;—Directory that contains documents accessible to all users of the system. This directory is readable and sometimes writable.&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Public Application Data&amp;#039;&amp;#039;&amp;#039;—Directory that contains data for system applications accessible to all users of the system. This directory is readable and sometimes writable.&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Public Preferences&amp;#039;&amp;#039;&amp;#039;—Directory that contains preferences common to all users of the system. This directory is readable and sometimes writable.&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;System Core Libraries&amp;#039;&amp;#039;&amp;#039;—Directory that contains the libraries that come with the operating system. This directory is typically read-only to the standard user of the system.&lt;br /&gt;
|-&lt;br /&gt;
| 10&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;System Installed Libraries&amp;#039;&amp;#039;&amp;#039;—Directory that contains libraries a user installs on the system. This directory is typically read-only to the standard user of the system.&lt;br /&gt;
|-&lt;br /&gt;
| 11&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Application Files&amp;#039;&amp;#039;&amp;#039;—Directory that contains files of applications installed on the system. This directory is typically read-only to the standard user of the system.&lt;br /&gt;
|-&lt;br /&gt;
| 12&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Boot Volume Root&amp;#039;&amp;#039;&amp;#039;—Top-level directory used to start the system. This directory is typically read-only to the standard user of the system.&lt;br /&gt;
|-&lt;br /&gt;
| 13&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Public Cache&amp;#039;&amp;#039;&amp;#039;—Directory that stores files the MathScript RT Module installs and shares among all users for the purpose of making certain operations faster. This directory is readable and sometimes writable.&lt;br /&gt;
|}&lt;br /&gt;
|-&lt;br /&gt;
! [[File:Boolean.png|link=Boolean data type]]&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;create directory if not found?&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;create directory if not found?&amp;#039;&amp;#039;&amp;#039; specifies whether the VI creates a new directory if the specified directory does not exist. If FALSE (default), the VI returns the path where the system expects to find the directory. If TRUE, LabVIEW creates a new directory.&lt;br /&gt;
|-&lt;br /&gt;
! [[File:Path Indicator.png|link=Path data type]]&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;system directory&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;system directory&amp;#039;&amp;#039;&amp;#039; returns the specified system directory of the current target.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If errors occur while accessing or creating a directory, or the current target does not support the specified &amp;#039;&amp;#039;&amp;#039;system directory type&amp;#039;&amp;#039;&amp;#039;, the VI returns &amp;lt;code&amp;gt;Not a Path&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
{{ambox|text=History information is needed.  What changes have occurred over previous versions?}}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Version&lt;br /&gt;
! Change(s)&lt;br /&gt;
|-&lt;br /&gt;
|[[File:LV2018.png|frameless|border|64x64px|LabVIEW 2018|link=LabVIEW 2018]]&lt;br /&gt;
|More info to come.&lt;br /&gt;
|}&lt;br /&gt;
== See Also ==&lt;br /&gt;
{{ambox|text=Add links to internal resources that would also help.}}&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
{{ambox|text=Add links to external resources that would also help.}}&lt;br /&gt;
&lt;br /&gt;
[[Category:File Constants Palette]]&lt;/div&gt;</summary>
		<author><name>Q</name></author>
	</entry>
</feed>