IT속으로

폴더와 하위 폴더에 있는 파일명들을 텍스트로 추출하기

더월드 2019. 8. 22.
  • 폴더와 하위 폴더에 있는 파일명들을 텍스트로 추출하기

     dir /b >list.txt

     dir /b /s >list.txt

 

[ dir /b /s > list.txt ]

     또는

     tree /f

     tree /f >list.txt

[ tree /f > list.txt ]

 

 

  • dir, tree 뒤에 ">list.txt" 을 붙이는것은 파일로 저장하기 위함.

[ list.txt 파일 ]

 

댓글

💲 추천 글