GetDirectory()

  GetDirectory

Description

GetDirectory() is used to retrieve a listing of all the files in a directory.

Call Signature

string GetDirectory ( string dir_name )

Return Value

string

The returned directory entry list will be empty if the directory name is invalid or some other error occurs.

Argument

string dir_name:

A string containing the name of the directory to search.

Remarks

The current and parent directory entries are not included.

See also

MkDirectory()

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.