How to check file's first name?
Posted on 2006-06-23
I have a situation in which I only have a file's first name(NOT EXTENSION) like 'ms0045' that is coming from database.
Now there may or may not be a file in a known directory with that name. I want to check if 'ms0045' exists in the directory with any extension or not.
how can i do that.