<doc>
	<legacy_id>2107</legacy_id>
	<name>longFilePath</name>
	<type>function</type>

	<syntax>
		<example>the longFilePath of <i>filePath</i></example>
		<example>longFilePath(<i>filePath</i>)</example>
	</syntax>

	<synonyms>
	</synonyms>

	<summary><glossary tag="return">Returns</glossary> the long-format equivalent of an 8.3-format <glossary tag="file path">file path</glossary>.</summary>

	<examples>
<example>the longFilePath of it</example>
<example>if storedPath is not the longFilePath of storedFile then checkVersion</example>
	</examples>

	<history>
		<introduced version="1.1">Added.</introduced>
		<deprecated version=""></deprecated>
		<removed version=""></removed>
		
		<experimental version=""></experimental>
		<nonexperimental version=""></nonexperimental>
	</history>

	<objects>
	</objects>

	<platforms>
		<mac/>
		<windows/>
		<linux/>
	</platforms>

	<classes>
		<desktop/>
		<server/>
		<web/>
	</classes>

	<security>
		<disk/>
	</security>


	<classification>
		<category>Files, Folders, &amp; Resources</category>
	</classification>

	<references>
		<function tag="shortFilePath">shortFilePath function</function>
	</references>

	<description>
	<overview>Use the <b>longFilePath</b> function to get the long equivalent of a short file path passed from the command line.</overview>

		<parameters>
<parameter>
<name>filePath</name>
<description>The filePath is the location and name of the file or folder whose long equivalent you want. If you specify a name but not a location, LiveCode assumes the file or folder is in the defaultFolder.</description> 
</parameter>		</parameters>

	<value>The <b>longFilePath</b> function returns a file path.</value>
	<comments>The <b>longFilePath</b> function transforms the <i>filePath</i> without looking for the file, so it returns a value even if the <i>filePath</i> does not exist- namely the <i>filePath</i> prefixed with the current <property tag="defaultFolder">defaultFolder</property>.<p></p><p><warning></p><p>In pre 7.x versions on Mac and Linux the <b>longFilePath</b> function returned the <i>filePath</i> without changing it, post 7.x the <b>longFilePath</b> function returns the full path to the file. This change may affect existing code.</warning></comments>
	</description>
</doc>