Read Me - Common Public License V1.0 - Copyright Notice(©)

listRoots (Class Method)


>>-listRoots---------------------------------------------------><

Returns the file system root elements, as an array of string. On Windows, each of the drives is a root element (Ex : "C:\"). On Unix, there is just one root ("/").

Class FILE


say .File~listRoots~toString
/* Possible output on Windows : /*
C:\
D:\
E:\
R:\

Read Me - Common Public License V1.0 - Copyright Notice(©)