list-files

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  Expression Functions > File System Functions >

list-files

Lists the files in the path (which may terminate with a wildcard) and returns the resulting string list.

 

If the path does not end with a path separator and is not a wildcard, a search is made for exactly the specified item in the parent directory.

 

Signature

list-files(path:string) -> list of string

 

Parameters

Name

Type

Description

path

string

Specifies the path to a directory or file.

 

Examples

See Copy Files for an example.


© 2019 Altova GmbH