Use markee's way.
But I have an alternative that doesn't even use JavaScript.
Also, this only applies for IE with HTML Editor set to notepad.
(Yeah, this works for notepad only!)
Create a blank file, say, blank.html
And make a link to view-source:http://host.com/blank.html
On IE, a notepad window should popup.
Demo:
http://dttvb.yi.org/notepad