FILES Statement Programming Examples The following statements illustrate the use of FILES. ----- Note ----- Execution halts if you try to run this example without a disk in drive B, or if the specified files cannot be found. ---------------- FILES 'Shows all files on the current directory. FILES "*.BAS" 'Shows all files with the extension .BAS. FILES "B:*.*" 'Shows all files on drive B. FILES "B:" 'Equivalent to "B:*.*". FILES "TEST?.BAS" 'Shows all five-letter files whose names 'start with "TEST" and end with the .BAS 'extension. FILES "\SALES" 'If SALES is a directory, this statement 'displays all files in SALES; if SALES is 'a file in the current directory, this 'statement displays the name SALES.