The following are the File Locator object functions for COD scripts.

FunctionExampleReturn Value
filelocatordim myfl as filelocator
dim myfl as filelocator("<path>","<mask>",<bool>,<bool>)
dim myfl as filelocator("C:\\", "*", True, True)
dim myfl as filelocator("C:\\", "*.itm", True, False)
dim myfl as filelocator("C:\\", "Pipe*", False, True)
<object>
scan<fileloc>.scan("<path>","<mask>",<bool>,<bool>)
<fileloc>.scan("C:\\", "*", True, True)
<fileloc>.scan("C:\\", "*.itm", True, False)
<fileloc>.scan("C:\\", "Pipe*", False, True)
<object>