How can I create a list of files contained in a child folder


  1. Posts : 1,002
    XP Pro (x86) | 7 HP (x86) & (x64) | 7 Pro (x64)
       #1

    How can I create a list of files contained in a child folder


    I want to create a list of all files in a child folder.
    There are about 300 files of various file types in the folder
    - would it be possible to create such a list in cmd.exe window

    If so how would I do that ?
    - in the past I have dabbled with commands to release stubborn drives but that is the extent of my experience.

    I think I need to CHDIR to the target folder but I dont know how to then create a complete list of files in the cmd window
    - I am a little out of practice writing script to create a new TXT file with the list of files.
    - Wiki - List of DOS commands looks promising so I thought cmd.exe might be easier and quicker than script

    Thank you :)
      My Computer


  2. Posts : 72,049
    64-bit Windows 11 Pro for Workstations
       #2

    Hello Russell,

    You might see if the context menu below may work for you for this. :)

    Context Menu - Add View and Print File Directory
      My Computer


  3. Posts : 1,002
    XP Pro (x86) | 7 HP (x86) & (x64) | 7 Pro (x64)
    Thread Starter
       #3

    Hi Shawn :)
    You are a life saver. What other tricks have you got up your sleeve?!

    About 10 years ago I spent about a week learning how to write a recursive loop.
    - it was a lot of fun at the time but it nearly did my head in -- I survived and it worked

    Your help, as always, is very much appreciated :)
    Regards
    Russell (the-bald-won)
      My Computer


  4. Posts : 72,049
    64-bit Windows 11 Pro for Workstations
       #4

    I'm glad it was able to help mate. :)
      My Computer


 

  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 23:14.
Find Us