I guess I'll answer your question with a question. When you say "in code", what type of code are you talking about? Any language that can open a new file, save data to it, and close it with a particular file name can create a file with a .asp extention. Obviously if you are talking about doing this from an ASP page, the issues are more compicated. You'd need to create a file on the server using server side code, which I know can be done, although I haven't done it. I believe it is more work in ASP than in a standard language such as VB or C++. At any rate, if you want to be more specific, I can comment further. Hope that helps.