Command Reference : Programming Language Reference
Syntax: @wdir(directory_str)
Argument: string list, directory_str
Return: string list
Returns a string list of all files in the directory directory_str. Note that this does not include other directories nested within directory_str.
@wdir("C:\Documents and Settings")
returns a string list containing the names of all files in the “C:\Documents and Settings” directory.
See also @fileexist and @folderexist.