Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old November 24th 09, 10:05 AM posted to microsoft.public.excel.misc
external usenet poster
 
First recorded activity by ExcelBanter: Nov 2009
Posts: 1
Default Folder/Directory listings saved in Excel?

Is it possible to save (to a file) a listing of the contents of a folder or
directory? This would be useful for comparing names of files in say two
different folders. It would also be good to save other attributes for the
files - not just the names. I know there are non-MS downloads available to do
this, but I'd rather have a MS-approved way of doing it. Surely some VB guru
can come up with a little program to do this?

I have a folder of files (.html). My users were to provide me a file of jpgs
- 1 jpg per html. I know I have jpgs without htmls, and htmls wiithout jpgs.
I know I could add the lot into one folder and sort on filename, and see
where I don't have a pair, but I have many files and folders, and I'd feel
better if I could do this in Excel, especially as I could show the users a
report of what is missing.

Thanks in advance to any Excel genuises out there

P O'M

  #2   Report Post  
Old November 24th 09, 04:25 PM posted to microsoft.public.excel.misc
external usenet poster
 
First recorded activity by ExcelBanter: Jul 2006
Posts: 22,908
Default Folder/Directory listings saved in Excel?

Several methods to accomplish this.......I like Tushar's best if importing
to Excel.

To add a "Print Directory" feature to Explorer, go to
this KB Article.

http://support.microsoft.com/default...EN-US;q272623&

Or you can download Printfolder 1.2 from.....

http://no-nonsense-software.com/freeware/

I use PF 1.2 and find it to be more than adequate with custom
features.

OR Go to DOS(Command) prompt and directory.
Type DIR MYFILES.TXT

All the above create a *.TXT file which can be opened in Notepad or
Excel.

One more method if you want to by-pass the *.TXT file and pull
directly to Excel is to use Tushar Mehta's Excel Add-in. This allows
filtering and sorting once you have the data in Excel.

http://www.tushar-mehta.com/ scroll down to Add-insDirectory
Listing.

Download the ZIP file and un-zip to your Office\Library folder.


Gord Dibben MS Excel MVP

On Tue, 24 Nov 2009 02:05:01 -0800, Paddy O''Moron
wrote:

Is it possible to save (to a file) a listing of the contents of a folder or
directory? This would be useful for comparing names of files in say two
different folders. It would also be good to save other attributes for the
files - not just the names. I know there are non-MS downloads available to do
this, but I'd rather have a MS-approved way of doing it. Surely some VB guru
can come up with a little program to do this?

I have a folder of files (.html). My users were to provide me a file of jpgs
- 1 jpg per html. I know I have jpgs without htmls, and htmls wiithout jpgs.
I know I could add the lot into one folder and sort on filename, and see
where I don't have a pair, but I have many files and folders, and I'd feel
better if I could do this in Excel, especially as I could show the users a
report of what is missing.

Thanks in advance to any Excel genuises out there

P O'M




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Workbook saved in FTP folder AP[_3_] Excel Discussion (Misc queries) 2 January 5th 09 12:53 PM
search folder/directory for a phrase inside excel files pwrichcreek Excel Discussion (Misc queries) 5 August 11th 08 09:39 PM
How to remove macro saved on excel folder Jurassien Excel Discussion (Misc queries) 5 February 20th 07 07:39 PM
Adding a field to an excel sheet saved in a network shared folder Marwan Kandeel Excel Discussion (Misc queries) 0 August 21st 06 02:10 PM
Create a copy in the same folder when a file is modified and saved Turboj Excel Discussion (Misc queries) 1 February 21st 06 04:51 AM


All times are GMT +1. The time now is 12:08 AM.

Powered by vBulletin® Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright 2004-2019 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"

 

Copyright © 2017