You can do what you want, but you will need OSX Developer's Tools installed (which came on the OSX install DVD) or at the very least, have TextEdit.
Here is the solution as provided by somebody somewhere that I don't remember (but I saved a text clipping of it a long time ago).
The Desktop...