discovery.listDirectory(target, path[, win64_redirect=true|false]) – (7.3 and later)Retrieves the directory listing of the directory specified by the path on the specified target. You cannot use wildcards in the path. Returns a list of DiscoveredDirectoryEntry nodes. 64 bit Windows hosts have the following system directories for holding executables, DLLs, and so forth:
win64_redirect is an optional flag which enables you to specify whether the search should take place in the 32 bit directory if not found in the 64 bit directory. TRUE means search the 32 bit directory, FALSE means do not search the 32 bit directory if the directory is not found beneath the 64 bit directory. The default is TRUE. Paths that do not start with %windir%\system32 or %systemroot%\system32 are never checked for redirection. On non-Windows and 32 bit Windows systems win64_redirect has no effect. The win64_redirect flag is new in 8.2. If the call fails, it returns none and records the failure reason in the DirectoryListing node. The target node may be one of the following:
Restrictions
|
