Go Back  DVD Talk Forum > General Discussions > Tech Talk
Reload this Page >

Possible to create a listing of file names within a folder hirarchy?

Tech Talk Discuss PC Hardware, Software, Internet and Other Technology

Possible to create a listing of file names within a folder hirarchy?

Old 02-02-04, 12:56 PM
  #1  
DVD Talk Gold Edition
Thread Starter
 
Join Date: Jun 1999
Location: Seattle, WA USA
Posts: 2,548
Likes: 0
Received 0 Likes on 0 Posts
Possible to create a listing of file names within a folder hirarchy?

Hi All,

I have a bunch of folders, sub folders, and files. I'd like to go to the top level folder and output all of the folders and file names to excel or word.

Basically, I want to be able to give a package of soft copy files to someone, and email them a listing (with folder directories) of what files I gave them.

Possible?

Thanks!
Old 02-02-04, 01:05 PM
  #2  
Senior Member
 
Join Date: Oct 2002
Location: NYC
Posts: 952
Likes: 0
Received 0 Likes on 0 Posts
Go to the command line (Start-->Run-->cmd) (or "command" if you're using Windows 98 or below)

(make sure you're in the top-level folder...usually you can browse to it in Explorer, then when you go to the command line, you'll be there automatically. Or you can just cd there manually)
type:
dir /s >c:\temp\dirlist.txt

Open c:\temp\dirlist.txt in some text editor, select all, then copy & paste into Word.

Last edited by areacode212; 02-02-04 at 01:07 PM.
Old 02-02-04, 01:14 PM
  #3  
DVD Talk Gold Edition
Thread Starter
 
Join Date: Jun 1999
Location: Seattle, WA USA
Posts: 2,548
Likes: 0
Received 0 Likes on 0 Posts
AWESOME, I completely forgot about this ol' DOS 'trick'. Thanks areacode212!

Is it possible to parse the information so it just shows the folder names and file names? (Don't need dates, file sizes, etc)

Thanks
Old 02-02-04, 01:19 PM
  #4  
Senior Member
 
Join Date: Oct 2002
Location: NYC
Posts: 952
Likes: 0
Received 0 Likes on 0 Posts
Stick a /b after (or before) the /s. You can also do a dir /? to look at the different options.

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Thread Tools
Search this Thread

Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service - Do Not Sell My Personal Information

Copyright 2018 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.