Lasso Soft Inc. > Home

[File->Path]

Returns the full folder path to the file.

  • Syntax
  • Parameters
[File Variable->Path]
Required Parameters
File The file to be inspected.
Examples

To return information about a file:

The [File->Name], [File->Path], and [File->Size] tags can be used to output the name, path, and size (in kilobytes) of a file. The example below outputs the file name, path, and size delimited by HTML line breaks.

[Var:'File'=(File: 'myfile.txt', File_OpenRead, File_ModeChar)]
[$File->Path]<br>
[$File->Name]<br>
[$File->Size]<br>
[$File->Close]
Tag Link [File->Path] Category File
Type Member Data Source Any
Support Preferred Version 7.0
Output Type String Security File
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft