TrFile_ExecuteShell |
Execute a command in the (UNIX or Windows) shell of the operating system.
Syntax
TrFile_ExecuteShell ( switches ; shellCommand )
TrFile_ExecuteShell |
Execute a command in the (UNIX or Windows) shell of the operating system.
TrFile_ExecuteShell ( switches ; shellCommand )
TrFile_Exists |
Check for the existence of a file or folder.
TrFile_Exists ( switches ; filePath )
TrFile_FileSpecToFullPath |
(Obsolete) This function used to return the full path of a file or folder from the FSSpec. macOS only.
TrFile_FileSpecToFullPath( switches ; FileSpec )
TrFile_FindFolder |
Returns the path to special folders (subdirectories).
TrFile_FindFolder ( folderSwitch )
TrFile_FullPathToFileSpec |
(Obsolete) This functions used to change the full path to the standard macOS FSSpec.
TrFile_FullPathToFileSpec ( switches ; FileSpec )
TrFile_GetContents |
Returns (a part of) the contents of the file specified by the filePath. You can specify the starting position and the number of characters to get.
TrFile_GetContents( switches ; filePath ; { start ; { size } } )
TrFile_GetDataSize |
Returns the size of the data for the file specified by the filePath. The size returns the actual number of bytes used in the file (not the size on disk).
TrFile_GetDataSize ( switches ; filePath )
TrFile_GetDateCreated |
Returns the creation date for the file specified by the filePath.
TrFile_GetDateCreated ( switches ; filePath )
TrFile_GetDateLastAccessed |
Returns the date a file was accessed (opened) for the last time.
TrFile_GetDateLastAccessed ( switches ; filePath )
TrFile_GetDateModified |
Returns the modification date for the file specified by the filePath. The modification date is also displayed in the Finder or Explorer.
TrFile_GetDateModified ( switches ; filePath )