1. Join Now

    AVForums.com uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    263
    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,740
    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:
    25,456
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    166
    Location:
    Nottinghamshire
    Ratings:
    +3,758
    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:
    25,456
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    166
    Location:
    Nottinghamshire
    Ratings:
    +3,758
    Beat me to it :D
     
  5. InsertNameHere

    InsertNameHere
    Active Member

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

    Nice one! :thumbsup:
     

Share This Page

Loading...