|Description|| This unit contains the predefined subprograms that deal with file manipulation on a whole-file basis (as opposed to manipulating the data in the file using open and close, etc.). These routines allow you to rename, copy and delete files, as well as get information about a file and get the free space on disk available for a file.|
All routines in the File module are exported qualified (and thus must be prefaced with "File.").
|Details|| On the PC, a path name of a file or a directory can use either the forward slash or backward slash to separate directory names. The drive must be followed by a colon. Thus the following are legal path names:|
x:\students\west\example.t c:/turing/test.t /west/binary.t (uses the default drive).On the Macintosh, a path name of a file or directory can use the standard Macintosh format of Volume Name:Directory Name:Directory Name:File Name or the Unix format of /Volume Name/Directory Name/Directory Name/File Name. Note that the names can have spaces in them.
HSA:Applications:Turing Files:example.t /HSA/Applications/Turing Files/example.tOn UNIX systems, the path name must correspond to the UNIX standard of using a forward slash between parts of the path.
/export/home/west/turing/example.tIn general, you can achieve the greatest portability by using the UNIX standard for use in path names, as all Turing systems support it.