This is kind of part2 to a question long closed. I played with software to do this but did not like the registry changes it made. I'm using WinXP

I dug up an old email with "instructions" but cryptic ones to my pea-brain:

Me: "Can you remind me how to save a directory listing to file?"
Him: "Open a DOS window in the folder you want. Type dir > rick.txt"

What-the-how-the-heck?

How do I "open a dos window in the folder"?
Then how do I designate where I want the file to go?

I do have a print directory option when I right click on a folder, but I want to save it to file, not print it.

Thanks!