Hello.
I'm having a hard time figuring this out.
I want to open a file, but I don't know the filename. I know the directory the file resides in, and I know the extension ('.lay'), and I know there is only one file with that extension in the directory.
How can I do this and still have portable code?
I was thinking I could get the directory listing and test each file and see if it ends with ".lay".
Any other ideas out there?
Thanks
-V-