if you don't double quote the file name, notepad willsave the file as test.htm.txt, so windows will consider it as a text file (v.s. a htm file)