getDirFiles
getDirFiles(S_name) =>l_strings
Description
Returns a list of the names of all files and directories, including . and .., in a directory.
Uses the current SKILL path for relative paths. A path that is anchored to the current directory, for example, ./, ../, or ../../.., and so on, is not considered as a relative path.
Arguments
Value Returned
|
List of names of all files and directories in a given directory name (including |
|
|
Signals an error if the directory does not exist or is inaccessible. |
Examples
getDirFiles(car(getInstallPath()))
=> ("." ".." "bin" "cdsuser" "etc" "group" "include" "lib" "pvt" "samples" "share" "test" "tools" "man" "local" )
Related Topics
Return to top