Returns the names of files in a specified directory.
GetFiles does not return file names, rather it returns either relative or absolute filepaths, depending on the form of the directory specification given. For example, assume the calling process has a working directory of "C:\TEMP" and that "C:\TEMP" contains two files: "A.Dat" and "B.Dat".
GetFiles("C:\\TEMP") will return:
"C:\TEMP\A.Dat"
"C:\TEMP\B.Dat"
GetFiles("C:") will return:
"C:A.Dat"
"C:B.Dat"
GetFiles(".") will return:
".\A.Dat"
".\B.Dat"