Computing.Net > Forums > Programming > How to read a file name automatica

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

How to read a file name automatica

Reply to Message Icon

Original Message
Name: Shutian
Date: July 2, 2004 at 18:27:08 Pacific
Subject: How to read a file name automatica
OS: Solaris
CPU/Ram: 300Mhz/512
Comment:

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!


Report Offensive Message For Removal








Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home








Do you own an iPhone?

Yes
No, but soon
No


View Results

Poll Finishes In 6 Days.
Discuss in The Lounge
Poll History




Data Recovery Software