windows - create text file with all folders in directory in order by date created -


i have done .bat file opens notepad , fill folders in directory .bat file placed.

now want change fill text file folders in order date of creation.

this how .bat files looks now:

dir /a /b /-p /o:gen >c:\windows\temp\file_list.txt start notepad c:\windows\temp\file_list.txt 

also option autosave text file in same directory.

any higly appreciated. thanks

this lists folders , files, , saves file in current folder.

dir /ad /tc /od /b >file_list.txt dir /a-d /oen /b >>file_list.txt start "" notepad file_list.txt 

Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -