How to Print Filenames?

Discussion in 'Computers' started by Rob Landolfi, May 17, 2003.

  1. Rob Landolfi

    Rob Landolfi Stunt Coordinator

    Joined:
    Feb 26, 2002
    Messages:
    182
    Likes Received:
    0
    I have a list of approx 1800 files in a folder, and I'd like to know if there's a way to simply print out the filenames (don't want to print out contents for this). Any ideas? I'm running XP. Thanks.
     
  2. LewB

    LewB Screenwriter

    Joined:
    Feb 11, 2002
    Messages:
    1,282
    Likes Received:
    0
    Try this:
    Open a command prompt window (enter 'cmd' from Run...)
    CD to the directory (folder that you want the list of files)
    Enter: dir *.* /b > temp.fil (this does a directory command or list of all the files in that folder without all the statistics and puts the list in a file called temp.fil)
    Print temp.fil (or whatever else you want to do with the list)
    Hope that helps [​IMG]
     
  3. Jeff Peake

    Jeff Peake Supporting Actor

    Joined:
    Jul 12, 1998
    Messages:
    501
    Likes Received:
    0
    or you can just do a dir/B and copy that text to word or excel if you wish sort..
     
  4. Wayne Bundrick

    Wayne Bundrick Cinematographer

    Joined:
    May 17, 1999
    Messages:
    2,358
    Likes Received:
    0
    It's funny how Microsoft has yet to put into Windows the equivalent of "DIR > LPT1:" from a DOS prompt.
     
  5. Rob Landolfi

    Rob Landolfi Stunt Coordinator

    Joined:
    Feb 26, 2002
    Messages:
    182
    Likes Received:
    0
    Thanks guys [​IMG] I appreciate the fast turnaround. Have a good one.
     

Share This Page