Dismiss Notice
Attention AVForums app / Tapatalk users
Sadly GDPR means that, from 25th, we can no longer offer access to AVForums via the branded app or Tapatalk.
Click here for more information.

Outputting path lists

Discussion in 'Desktop & Laptop Computers Forum' started by InsertNameHere, Jan 22, 2005.

  1. InsertNameHere

    InsertNameHere
    Active Member

    Joined:
    Sep 17, 2003
    Messages:
    264
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    21
    Location:
    London
    Ratings:
    +3
    Unsure where to post this one - its more software than hardware - but anyway, I'm backing up some DVD's and would like to create a list of files / folders on each disc. I'm currently using the following command:

    dir e:\ > c:\output_list.txt

    However, its not giving me the full path (which is what I want). Any idea what I have to type to get this? I'm after something like this:

    C:\folder01\sub01\file01.exe
    C:\folder01\sub01\file02.txt
    C:\folder01\sub02\file01.mpg
    C:\folder01\sub02\file02.txt
    C:\folder02\sub01\file01.wmv
    ...
    etc

    Cheers,

    Alex
     
  2. KraGorn

    KraGorn
    Active Member

    Joined:
    Aug 30, 2003
    Messages:
    4,745
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    68
    Location:
    Warrington
    Ratings:
    +27
    Try dir/b/s, I think that's what you're after.
     
  3. HMHB

    HMHB
    Distinguished Member

    Joined:
    Nov 11, 2001
    Messages:
    26,730
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    166
    Location:
    Nottinghamshire
    Ratings:
    +5,492
    try using the /s option on the dir command
    dir e: /s> c:\output_list.txt
     
  4. HMHB

    HMHB
    Distinguished Member

    Joined:
    Nov 11, 2001
    Messages:
    26,730
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    166
    Location:
    Nottinghamshire
    Ratings:
    +5,492
    Beat me to it :D
     
  5. InsertNameHere

    InsertNameHere
    Active Member

    Joined:
    Sep 17, 2003
    Messages:
    264
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    21
    Location:
    London
    Ratings:
    +3
    Thanks guys.

    Nice one! :thumbsup:
     

Share This Page

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice