WIndows 10 cmd path question

Discussion in 'Operating Systems' started by ssal, Dec 12, 2019.

  1. ssal

    ssal Active Member

    Messages:
    541
    I have my original video footage stored in the following structure:

    E:\Alex\YouTube\1904\Grand Central\Video\*.mp4
    E:\Alex\YouTube\1904\Cherry Blossom 2019\Video\*.mp4
    E:\Alex\YouTube\1906\Zoo June2019\Video\*.mp4
    E:\Alex\YouTube\1912\Toronto Trip Dec2019\Video\*.mp4

    I want to issue a command in the cmd prompt to display all the mp4 files store in the above. What is the DIR path command line that I can type in the root directory to achieve this?
     
  2. tremmor

    tremmor Well-Known Member

    Messages:
    6,554
    E:\youtube\*.mp4/s
    think this one will work from the dos prompt.
     
  3. beers

    beers Moderator Staff Member

    Messages:
    8,452
    I usually do it like this, you can also just use a wildcard for the name if you don't enjoy piping to findstr like dir /s /b *.txt
     
    OmniDyne likes this.
  4. ssal

    ssal Active Member

    Messages:
    541
    I did something similar.
    I exported the directory using dir *.* /s/p>dir.txt to a text file. Then imported it to Excel to perform query so to come up with a list of the specific directories. Then I wrote a batch file and run it to achieve what I wanted to achieve.
    Thanks.
     
  5. Intel_man

    Intel_man VIP Member

    Messages:
    5,769
    Ok... I'll bite. Why are you doing what you're doing? I'm curious.
     
  6. OmniDyne

    OmniDyne Active Member

    Messages:
    621
    Good ol' Zoo Hub
     

Share This Page