I have a standing problem: Under a directory, I have many files with similar names for example 1998.EEO.SAC 1999.OTT.SAC 2000.CRLO.SAC . . . I want to read one of the file name automatically, by just inputing some letters, for example, OTT. When I put OTT, in a program, or proscript, I want to pick up file name 1999.OTT.SAC automatically. Then I can open the file, read data in the file, or write data to the file. Could you possibly tell me how to do the job? I might have more than 100 files under one directory! |