Export list of files in a folder

In Windows Vista, how could I just get a plain text file listing the filenames of all the files in a particular folder?