title: How can I make a webpage check to see if a link file has the wrong file type to check for another file type?
body: <p>I am making a webpage that is going to have a large amount of Word documents linked on it for review.  I am formatting Word lists of the files to be reviewed into a HTML page and use a macro to generate the links for the files to be reviewed.  The macro generates the links to be linked to .doc files. My company recently starting moving to Word 2010, but some users are still using Word 2003, so we have files being submitted in .doc format and some being submitted in .docx format. I am looking for a way in ASP, ASP.NET, or JavaScript to have the the webpage to see if file is not on the server in a .doc file format to check to see if there exists a file with the that sane file name that is in a .docx file format.  Any suggestions would be greatly appreciated.</p>