>* Assuming a jpg extension >run dir *.jpg > filelist.txt >modify command filelist.txt >Oh, I forgot, this will lose long file names, so it may, or may not, be adequate for you, depending on your needs. However, you can also access every file with the short file name.