
![]() |
TrFile_DeleteFile |
Deletes the file indicated by the filePath. This function requires no user intervention.
Syntax
TrFile_DeleteFile ( switches ; filePath )
![]() |
TrFile_DeleteFile |
Deletes the file indicated by the filePath. This function requires no user intervention.
TrFile_DeleteFile ( switches ; filePath )
![]() |
TrFile_DiskInfo |
Retrieves information about a specified disk, like the number of files.
TrFile_DiskInfo ( switches ; diskname )
![]() |
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 )