List of files to Notepad in order of Size

rajvir

Distinguished
Oct 10, 2013
13
0
18,510
I am asking this for the second time because the answers given to me last time sadly did not work.
And me updating my post did not seem to help.

I need to get a list of files in a directory to a notepad in order of size from least to greatest.

I can already get make a list that contains the file name along with size and everything else but it is arranged by name, when I want my 1000's of EPUB's arranged by size.

Roy Zeno showed me how to get it by name written below is What he had me do. (It worked it just arranges it by name)

"1. Create a text file named "CopyFN". Inside "CopyFN" put the following without the quotation marks (spaces are ignored):

"dir/a/-p/o:gen>copylist.txt"

2. Open the file and go to "save as". Near the bottom where it says, file name: Change "CopyFN.txt" to "CopyFN.bat". Below that where it says, Save as type: hit down arrow and click "All (*.*)", then click save.

3. This new "CopyFN.bat" file can be put or copied to any folder then double click it to run it. A new file "copylist.txt" appears that list all the files (and some garbage) from that folder."