Working with Files Exec and Chain File PropertiesTemporarily transfers control to another program. RunTransfers control to another program. KillDeletes an existing file. NameRenames an existing file. FileAttr Gets information about a file bound to a file number. FileCopyCopies a file. FileDateTimeGets the last modified date and time of a file. FileExistsTests for the existence of a file. FileLenGets the length (in bytes) of a file. FileSetEofSets the length of an open file bound to a file number. FileFlushFlushes application or system buffers for an open file bound to a file number. | Working with Directories CurDir System ProceduresGets the current working directory. ChDirSets the current working directory. DirGets the names of files or directories matching certain attributes. ExePathGets the directory of the current running program. MkDirCreates a new directory. RmDirDeletes an existing directory. Fre Gets the amount of free memory (in bytes) available. CommandGets the command-line parameters passed to the program. EnvironGets the value of an environment variable. IsRedirectedChecks whether stdin or stdout is redirected to a file or not. SetEnvironSets the value of an environment variable. ShellSends a command to the system command interpreter. SystemCloses all open files and exits the program. |