Welcome Guest.   Make a donation to an author on the site October 24, 2014, 10:32:20 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2013! Download dozens of custom programs!
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: Create a file list from multiple folders  (Read 7212 times)
Contro
Participant
*
Posts: 2,171

View Profile Give some DonationCredits to this forum member
« on: July 06, 2012, 04:56:12 PM »

Create a file list from multiple folders

I would like a soft for propose the folders.
Then I can obtain a list with the files sorted :

by creation or modification date
by alphabetical order

Not include the system files
Include de subfolders contained in the proposed folders.

Best Regards
 Kiss
Logged
rgdot
Supporting Member
**
Posts: 1,643


View Profile WWW Give some DonationCredits to this forum member
« Reply #1 on: July 06, 2012, 10:56:48 PM »

This?

http://dirhtml.home.comcast.net/~dirhtml/
Logged
barney
Charter Member
***
Posts: 1,245


see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #2 on: July 07, 2012, 12:57:58 AM »

I'm not certain I understand all your requirements, but you might take a look at the late Karen Kenworthy's Directory Printer.  It's extremely flexible.  I use it frequently to create CSV files for folders/subfolders content.  It's a VB6 program, so if you're using windows, you prolly have all the necessaries already installed.
Logged

Make a good day ... barn
Renegade
Charter Member
***
Posts: 11,638



Tell me something you don't know...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #3 on: July 07, 2012, 02:31:41 AM »

Far less sophisticated, but a quick and easy hack for a recursive text dump of a directory and files:

http://renegademinds.com/...les/tabid/56/Default.aspx

Quote
Dump file and directory lists to text files

Need a complete list of files and directories from Windows? Don't feel like typing them manually? Here's the answer...

The following is a batch file that runs under command.exe or cmd.exe, depending upon whether you are using Windows 9x/Me or Windows NT/2000/XP/2003. Copy the file contents then save it in your SendTo directory as getDirListing.bat. In Windows NT/2000/XP/2003 the SendTo directory is in <DRIVE>:\Documents and Settings\<YOUR WINDOWS LOGIN>\SendTo.

Formatted for Generic Code with the GeSHI Syntax Highlighter [copy or print]
  1. @echo Directory and sub-directory file listing dump by RenegadeMinds.com.
  2. @echo Visit http://Renegademinds.com for more Windows tips and tricks
  3. @echo and free software applications.
  4. @echo ==================================================================
  5. @echo ==================================================================
  6. @echo Save this file as getDirList.bat in your SendTo directory.
  7. @echo SendTo is under Documents and Settings in each user's directory.
  8. @echo Right-click on any directory in Windows Explorer and choose
  9. @echo Send To - getDirList.bat
  10. @echo ==================================================================
  11. @echo ==================================================================
  12. @echo Dumping directory listing to c:\dirListing.txt
  13. @echo        (This may take some time for large directory trees.)
  14. @REM the /A switch lists all hidden and system files as well.
  15. @REM the /S switch lists all subdirectories and their contents.
  16. @dir %1 /A /S > c:\dirListing.txt
  17. @echo Opening c:\dirListing.txt in Notepad (Close notepad to delete file)
  18. @notepad c:\dirListing.txt
  19. @echo Deleting c:\dirListing.txt
  20. @del c:\dirListing.txt
  21. @pause

Right-click on any directory and choose SendTo > getDirListing.bat.

Cheers,

Renegade

It goes in the "Send to" menu in your context menu.

But like I said, far less sophisticated. The only real benefit is that it is fast, easy, and you don't need to bother opening any software for it.
Logged

Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker
Contro
Participant
*
Posts: 2,171

View Profile Give some DonationCredits to this forum member
« Reply #4 on: July 07, 2012, 04:35:53 AM »

Running to try

Best Regards
Logged
Contro
Participant
*
Posts: 2,171

View Profile Give some DonationCredits to this forum member
« Reply #5 on: July 07, 2012, 04:54:41 AM »


I see only give the possibility to choose one folder (and his subfolders). Is it correct ?

I would in F4 the possibility to choose more than one folder.

Best Regards
Logged
4wd
Supporting Member
**
Posts: 3,353



see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #6 on: July 07, 2012, 06:10:12 AM »

Far less sophisticated, but a quick and easy hack for a recursive text dump of a directory and files:

http://renegademinds.com/...les/tabid/56/Default.aspx


You'd need a separate batch file for each case and change the dir command in each:

@dir %1 /A-s-h-d /S /on /b > c:\dirListing.txt         ** For sorted by Name with no Folders or System/Hidden files
@dir %1 /A-s-h-d /S /od /tc /b > c:\dirListing.txt    ** For sorted by Creation Date with no Folders or System/Hidden
@dir %1 /A-s-h-d /S /od /tw /b > c:\dirListing.txt    ** For sorted by Last Written, (Modified), with no Folders or System/Hidden

Use /o-n or /o-d to reverse the sort order.
« Last Edit: July 24, 2012, 11:53:08 PM by 4wd; Reason: Forgot to neg each attribute :/ » Logged

I do not need to control my anger ... people just need to stop pissing me off!
Contro
Participant
*
Posts: 2,171

View Profile Give some DonationCredits to this forum member
« Reply #7 on: July 07, 2012, 07:12:41 AM »

I'm not certain I understand all your requirements, but you might take a look at the late Karen Kenworthy's Directory Printer.  It's extremely flexible.  I use it frequently to create CSV files for folders/subfolders content.  It's a VB6 program, so if you're using windows, you prolly have all the necessaries already installed.

I think i have the same problem. I can't select only one folder (and its subfolders), but I don't see how to select several folders in differents hard drives.

Best Regards
Logged
Contro
Participant
*
Posts: 2,171

View Profile Give some DonationCredits to this forum member
« Reply #8 on: July 07, 2012, 07:19:49 AM »

Far less sophisticated, but a quick and easy hack for a recursive text dump of a directory and files:

http://renegademinds.com/...les/tabid/56/Default.aspx

Quote
Dump file and directory lists to text files

Need a complete list of files and directories from Windows? Don't feel like typing them manually? Here's the answer...

The following is a batch file that runs under command.exe or cmd.exe, depending upon whether you are using Windows 9x/Me or Windows NT/2000/XP/2003. Copy the file contents then save it in your SendTo directory as getDirListing.bat. In Windows NT/2000/XP/2003 the SendTo directory is in <DRIVE>:\Documents and Settings\<YOUR WINDOWS LOGIN>\SendTo.

Formatted for Generic Code with the GeSHI Syntax Highlighter [copy or print]
  1. @echo Directory and sub-directory file listing dump by RenegadeMinds.com.
  2. @echo Visit http://Renegademinds.com for more Windows tips and tricks
  3. @echo and free software applications.
  4. @echo ==================================================================
  5. @echo ==================================================================
  6. @echo Save this file as getDirList.bat in your SendTo directory.
  7. @echo SendTo is under Documents and Settings in each user's directory.
  8. @echo Right-click on any directory in Windows Explorer and choose
  9. @echo Send To - getDirList.bat
  10. @echo ==================================================================
  11. @echo ==================================================================
  12. @echo Dumping directory listing to c:\dirListing.txt
  13. @echo        (This may take some time for large directory trees.)
  14. @REM the /A switch lists all hidden and system files as well.
  15. @REM the /S switch lists all subdirectories and their contents.
  16. @dir %1 /A /S > c:\dirListing.txt
  17. @echo Opening c:\dirListing.txt in Notepad (Close notepad to delete file)
  18. @notepad c:\dirListing.txt
  19. @echo Deleting c:\dirListing.txt
  20. @del c:\dirListing.txt
  21. @pause

Right-click on any directory and choose SendTo > getDirListing.bat.

Cheers,

Renegade

It goes in the "Send to" menu in your context menu.

But like I said, far less sophisticated. The only real benefit is that it is fast, easy, and you don't need to bother opening any software for it.

I can't filter ?

I have too many hard drives and some 2 Tb.

Best Regards
Logged
Contro
Participant
*
Posts: 2,171

View Profile Give some DonationCredits to this forum member
« Reply #9 on: July 07, 2012, 07:23:02 AM »

I would like only files , not shortcuts inside subfolders
only folder and subfolders
and the file names sorted
But all the folders in several hard drives please.

 embarassed
Best Regards
Logged
Contro
Participant
*
Posts: 2,171

View Profile Give some DonationCredits to this forum member
« Reply #10 on: July 07, 2012, 07:51:54 AM »

Far less sophisticated, but a quick and easy hack for a recursive text dump of a directory and files:

http://renegademinds.com/...les/tabid/56/Default.aspx

Quote
Dump file and directory lists to text files

Need a complete list of files and directories from Windows? Don't feel like typing them manually? Here's the answer...

The following is a batch file that runs under command.exe or cmd.exe, depending upon whether you are using Windows 9x/Me or Windows NT/2000/XP/2003. Copy the file contents then save it in your SendTo directory as getDirListing.bat. In Windows NT/2000/XP/2003 the SendTo directory is in <DRIVE>:\Documents and Settings\<YOUR WINDOWS LOGIN>\SendTo.

Formatted for Generic Code with the GeSHI Syntax Highlighter [copy or print]
  1. @echo Directory and sub-directory file listing dump by RenegadeMinds.com.
  2. @echo Visit http://Renegademinds.com for more Windows tips and tricks
  3. @echo and free software applications.
  4. @echo ==================================================================
  5. @echo ==================================================================
  6. @echo Save this file as getDirList.bat in your SendTo directory.
  7. @echo SendTo is under Documents and Settings in each user's directory.
  8. @echo Right-click on any directory in Windows Explorer and choose
  9. @echo Send To - getDirList.bat
  10. @echo ==================================================================
  11. @echo ==================================================================
  12. @echo Dumping directory listing to c:\dirListing.txt
  13. @echo        (This may take some time for large directory trees.)
  14. @REM the /A switch lists all hidden and system files as well.
  15. @REM the /S switch lists all subdirectories and their contents.
  16. @dir %1 /A /S > c:\dirListing.txt
  17. @echo Opening c:\dirListing.txt in Notepad (Close notepad to delete file)
  18. @notepad c:\dirListing.txt
  19. @echo Deleting c:\dirListing.txt
  20. @del c:\dirListing.txt
  21. @pause

Right-click on any directory and choose SendTo > getDirListing.bat.

Cheers,

Renegade

It goes in the "Send to" menu in your context menu.

But like I said, far less sophisticated. The only real benefit is that it is fast, easy, and you don't need to bother opening any software for it.

Renegade thanks for the application email avenger. I was looking for the application.

Best Regards
Logged
Renegade
Charter Member
***
Posts: 11,638



Tell me something you don't know...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #11 on: July 08, 2012, 11:14:36 AM »

Far less sophisticated, but a quick and easy hack for a recursive text dump of a directory and files:

http://renegademinds.com/...les/tabid/56/Default.aspx


You'd need a separate batch file for each case and change the dir command in each:

@dir %1 /A-shd /S /on /b > c:\dirListing.txt         ** For sorted by Name with no Folders or System/Hidden files
@dir %1 /A-shd /S /od /tc /b > c:\dirListing.txt    ** For sorted by Creation Date with no Folders or System/Hidden
@dir %1 /A-shd /S /od /tw /b > c:\dirListing.txt    ** For sorted by Last Written, (Modified), with no Folders or System/Hidden

Use /o-n or /o-d to reverse the sort order.

I never sort as the default is fine for what I need, but thanks for that!  Thmbsup

I can't filter ?

I have too many hard drives and some 2 Tb.

You just right-click on a folder, so you don't need to do EVERYTHING. Cripes... that would take forever... Sad



Renegade thanks for the application email avenger. I was looking for the application.

It's a bit dated now. Sad Likely doesn't work as well as when I wrote it.
Logged

Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker
4wd
Supporting Member
**
Posts: 3,353



see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #12 on: July 08, 2012, 09:49:51 PM »

You'd need a separate batch file for each case and change the dir command in each:

@dir %1 /A-shd /S /on /b > c:\dirListing.txt         ** For sorted by Name with no Folders or System/Hidden files
@dir %1 /A-shd /S /od /tc /b > c:\dirListing.txt    ** For sorted by Creation Date with no Folders or System/Hidden
@dir %1 /A-shd /S /od /tw /b > c:\dirListing.txt    ** For sorted by Last Written, (Modified), with no Folders or System/Hidden

Use /o-n or /o-d to reverse the sort order.

I never sort as the default is fine for what I need, but thanks for that!  Thmbsup

I screwed up, it's /A-s-h-d to exclude System/Hidden/Directories - I forgot you had to neg each one.  embarassed
Logged

I do not need to control my anger ... people just need to stop pissing me off!
4wd
Supporting Member
**
Posts: 3,353



see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #13 on: July 24, 2012, 11:48:09 PM »

I was actually writing something to do this but found I didn't need to:

SMF by Kafu

Quote
It has excessive search filter capabilities and a SQLite driven result reporting tool, with which you can sub-filter the results according to your needs.



It's fast and it does indeed have excessive filtering - a universe ahead of anything I could have written smiley



1. Select your directories
2. Specify any filename filtering and check the Attributes, Date Created/Modified.
3. Click Pre-filter files.
4. Uncheck System, Hidden, Directory, etc.
5. Click Search.



6. Click Show report and again on the next window.



You can sort by clicking on the column.
Logged

I do not need to control my anger ... people just need to stop pissing me off!
IainB
Supporting Member
**
Posts: 4,790


Slartibartfarst

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #14 on: July 25, 2012, 04:44:31 AM »

@4wd: Thanks for the link - looks like an interesting find in its own right, as well as being a possible solution to the problem posed by @Contro.     Thmbsup
Downloading it now...

EDIT 2012-07-25 2219hrs: I took a look around that website - http://funk.eu/.
Very interesting software and other stuff - e.g., on the blog, a link to this superb trick cyclist video:

<a href="http://www.youtube.com/watch?v=ShbC5yVqOdI" target="_blank">http://www.youtube.com/watch?v=ShbC5yVqOdI</a>
« Last Edit: July 25, 2012, 05:25:39 AM by IainB; Reason: Added YouTube link. » Logged
x16wda
Supporting Member
**
Posts: 475


what am I doing in this handbasket?

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #15 on: July 28, 2012, 06:56:42 AM »

superb trick cyclist video

My goodness!  That's someone who is one with his bike!
Logged

vi vi vi - editor of the beast
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.109s | Server load: 0.14 ]