Posted on: 3/5/2011 8:39:16 AM | Views : 260

Hi, I have a web folder which contains files which are uniqely named
Example: file1.doc, file 2.doc, file3.pdf, file4.txt
I know the filename, "file1", but without looking at the folder I won't know the extension. All I need to do is set a path to the file (to Hyperlink it for example) but I can't find a way to do this. I have tried using "file1.*" which didn't work.
Can I read the directory contents using IO in some way. Can this be done?
Thanks
...

Go to the complete details ...