I need to open a file whose full filename I do not know.
I know the file name is something like.
filename*esy
I know definitely that there’s only one occurrence of this file in the given directory.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
filename*esyis already a “shell ready” wildcard & if thats alway the case you can simply;Just call (or loop until empty)
file = Dir$()to get the next match.