Thursday, April 2, 2015

[Command] Save list of files as txt file

* If you want to get a list of files in the folder
  1. open the 'cmd'
  2. move to the folder location
dir /s/b >list_name.txt


* If you want to get a list of specific extension file in the folder

  1. open the 'cmd'
  2. move to the folder location
dir *.txt /s/b > list_specific_name.txt

No comments:

Post a Comment