SiMX Help‎ > ‎The Target Platform‎ > ‎Objects‎ > ‎TARGET Object‎ > ‎target.file‎ > ‎

GetName


Platform Objects


Description

Returns the name of the file 

Syntax


Function GetName(file)

file (input) - file from which you want the name

Return value


string - name of the file

Sample

'---------- Start ----------
Function Start
trg.Message( target.file.GetName( "C:\TargetFileExample\TargetFileExample.txt" ) )

End Function

See also


Platform Objects and Methods
target.file.GetMIME
target.file.GetSize
target.file