file system
Gives the file system of a path.
file system NAME
Description
Gives a list of the kind of the file system and its name. In ztcl it is native root for each path.
Arguments
| Argument | Type | Default | Description |
|---|---|---|---|
| NAME | path | required | The path. |
Returns
A list of two words.
Examples
% file system n.txt
native root
Errors
Each path gives native root. 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 type of the volume, such as
native NTFS, and an error for more than one argument (issue 686, issue 688).
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