>Add the following to the top of your file that contains your code
>
>
>Imports Scripting
>
>
>Also, just a question, why don't you use the System.IO classes?
Well, that's a good question. I simply renamed an ASP file and didn't realize I have to convert the ASP code inside it so under an ASPX extension it would work.