![]() |
![]() |
$file.ls Returns a directory listing |
Usage |
<array> $file.ls(<directory:string>,[<flags:string>[,<namefilter:string>]]) |
Description |
Returns the listing of the specified directory as an array. The <directory> should be a UNIX style file path and is adjusted according to the system that KVIrc is running on. <flags> may be a combination of the following characters: d: list directoriesIf <flags> is empty then a default of dfrwxhs is set. If none of the r,w,x flags are set then KVIrc sets all of them by default. If <namefilter> is passed then it is interpreted as a wildcard string that must match the entries to be returned. |