Go to the previous, next section.
The Scheme standard provides a simple mechanism for reading and writing
files: file ports. MIT Scheme provides additional tools for
dealing with other aspects of the file system:
-
Pathnames are a reasonably operating-system independent tool for
manipulating the component parts of file names. This can be useful for
implementing defaulting of file name components.
-
Control over the current working directory: the place in the file
system from which relative file names are interpreted.
-
Procedures that rename, copy, delete, and test for the existence of
files. Also, procedures that return detailed information about a
particular file, such as its type (directory, link, etc.) or length.
-
A facility for reading the contents of a directory.
Go to the previous, next section.