Create txt file of folder contents

Page 2 of 2 FirstFirst 12

  1. Posts : 5,642
    Windows 10 Pro (x64)
       #11

    Code:
    C:\FOLDER> tree /A /F > tree.txt
    Tree is built in the command line. With some simple search and replace can remove the bits you dont want.
      My Computer


  2. Posts : 5,092
    Windows 7 32 bit
       #12

    logicearth said:
    Code:
    C:\FOLDER> tree /A /F > tree.txt
    Tree is built in the command line. With some simple search and replace can remove the bits you dont want.
    Another approach. But one thing good about a working script is you can enhance it. For example if only .avi and .mp4 are of interest the search may use *.* then filter with
    SplitPath,A_LoopFileLongPath,,Ext
    If Ext in avi,mp4
    yadda yadda

    Of course this is a knock-off. A polished script would allow for input types, result filename etc..
      My Computer


 
Page 2 of 2 FirstFirst 12

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 04:10.
Find Us