Help me output a list of files in a directory to Excel or HTML...
January 13, 2007 8:17 AM
Subscribe
How can I output a list of files in a specified folder, including certain file attributes (i.e. date created, date modified, etc), to a HTML or spreadsheet file? I'm using Windows XP.
I know it's a simple question, but all of the search terms I've used are too common to yield good results, and some of the software I've found appears to be somewhat "sketchy".
I need a piece of software (or some kind of extension to Windows Explorer) that will allow me to output a list of files in a given directory, including the file name, date created, file comments, and any other attributes tied to the file. Ideally the output would be in a spreadsheet or HTML format.
Is there a (preferably free) piece of software out there that accomplishes this task?
posted by gwenzel to computers & internet (11 comments total)
dir C:\mydirectory\*.* >>foo.txt
... it will output the directory listing to a fixed-width text file, which you can then bring into Excel and manipualte to your heart's content. If you want an automated solution to do this on a regular basis, it would be a five-minute job to write either a piece of VBA (for Excel format) or Perl (for HTML) that can output it directly in the format you want.
posted by Doofus Magoo at 8:47 AM on January 13, 2007