Well, the desktop directory definately wouldn't have worked. I'm not even sure what you would type in to make it generate to the desktop (not sure why you'd want 18 files on the desktop either

).
As for why you can't get the 2nd one to work, I don't know.