"Explorer" to "Excel" question

Orionblamblam

ACCESS: USAP
Top Contributor
Senior Member
Joined
5 April 2006
Messages
11,808
Reaction score
9,370
Website
www.aerospaceprojectsreview.com
I'm in the process of copying over all my data from one external hard drive to another. It's an incredibly long process... 850 gigabytes takes a while to pass through a laptop, I guess. But it reminded me of a problem: does anyone know how to conveniently make a spreadsheet, or even a decently formatted text file, of the list of files (and associated data) in a folder? For instance, the attached screenshot shows the Windows File Explorer view of part of one folder. How do I go about getting a good listing of the files? Going through each folder and copy/pasting the names would be an impossible task... I have hundreds of thousands of files (gah).
 

Attachments

  • Image1.jpg
    Image1.jpg
    97.9 KB · Views: 10
Had the same problem (although in smaller scale!). I use an excel spreadsheet to catalog and search my technical papers.
I found a less-than-ideal method that works nonetheless. Don't know if you will find it acceptable but in the absence of something better...
Incidentally, if anyone knows a better way, please let me know.

I found it on this page:
http://www.pcmag.com/article2/0,2817,1814460,00.asp

This technique is indeed quite a bit easier than switching to the command prompt, especially if you skip the step of saving the document as a text file. How? As noted, when you drag and drop the filenames onto a Word document using the right mouse button, you get a menu that includes the option Create Hyperlink Here. After doing so, highlight all the resulting hyperlinks, press Ctrl-X to cut them to the clipboard, and select Edit | Paste Special from the menu. In the list of formats, select Unformatted text, then click on OK.
You now have a listing of all the selected files, but each filename is preceded by the full path, and the filenames are not on separate lines. Highlight the pathname portion of any one file, including the final backslash, and press Ctrl-C to copy it to the clipboard. Highlight all of the files and press Ctrl-H to bring up the Find and Replace dialog. Paste the path into the Find what box, and enter ^p in the Replace with box. After you click on Replace all, you'll have a nice listing of all the files, each on its own line, without the preceding path information.

Once it's nice and formatted in word, you should be able to import it in excel. About the only problem I have is that it pastes the text with one empty line in between. Hope this helps.
 
does anyone know how to conveniently make a spreadsheet, or even a decently formatted text file, of the list of files (and associated data) in a folder?

It is maybe calling CPT. Obvious here, but anyways... I am sure that my method of listing the contents of a folder cannot be called a decent one, but it is rather useful for me. For this purpose I use simple DOS box command which would look like:
dir e:\*.* /s /b /l >> c:\your_folder\your_filename.txt
It is assummed here that I am listing E drive.
 
Hi!
If you need to made searchable list of files, located on the drive, you could use some kind of cataloging software.

I don't aware of free-of-charge ones, but personally I actively use WhereIsIt (http://www.whereisit-soft.com/). After adding the desired folders in files into the program, it made catalog of it (with preview of graphical files or with anotheruseful options). Then you could export this catalog in various ways, including Excel spreadheets. However, program itself has a very fast searching engine.

There was also Directory Opus (http://www.gpsoft.com.au/Intro.html) - sort of very advanced Windows Explorer with a function of making directory listing.

And third - Total Commander.

Hope, this helps!
 

Similar threads

Back
Top Bottom