file volumes
Gives the volumes of the file system.
file volumes
Description
Gives the list of the volumes. In ztcl it is /.
Returns
A list of volumes.
Examples
% file volumes
/
Errors
Each call gives /. ztcl does not check the count of arguments of this subcommand (issue 688).
Differences from Tcl
- Tcl 8.6.16 and 9.0.4 give the drives on Windows, such as
C:/(issue 686).
Facts
- Capability
file. A new interpreter does not have it until the host turns it on.- Tcl release
- Tcl 9.1 and 8.6.
- Since
- ztcl 1.0.0-beta.1