FileList
--------

FileList derived from a request from alogoc on the coding snacks forum of donationcoder.com.

Original request:

     IDEA:Enter .txts in excel but appear name of the folder they come from 
 on: September 25, 2009

--------------------------------------------------------------------------------
Hey people

I have a pretty hard question for me...maybe someone of you could help.

I have a huge folder,with some other folders in it.Wich folders contain some other folders who contain the .txts

I know i confused you.If someone though wants to help i can send you the attachment by email,since i can't upload it here.

So what i need is to enter the .txts in excel (they all will be in one workbook),but i need to contain in one line the 1st name of the folder that they come from,then the 2nd name of the folder they come from.Then what contains the .txt.

Here is an example of the archives
I have the .txts in the folders and the an example of an imported .txt.
But only one...don't know how to import another in one sheet

Guess this is the hard thing i have ever had to do.Wish some of you can help

I understand this is a very hard question that's why i am trying to get as much help as i can.
That includes other forums too,here are the links:
Link 1
Link 2

Please question me if you don't understand something

If anyone has another idea,besides excel,i'd really like to hear.

Thanks in advance


---------------------------------------------------------------------------------

The resulting program is:
FileList.exe

This has been written using FPC (Free pascal Compiler)



Instructions:

- Upon execution, a directory selection window will appear.  Select the directory where your sub-directories all appear.  Select and the directory and click 'OK'.
- A list will now be built up of akll the directories and sub-directories thereof, down to any resulting .txt file.  Once the process completes a simple csv file will be created and opened using excel (or other registered program).

Any ideas for enhancements (there are loads) or bugs let me know, and I will do my best, if I have the time to sort them out

Email me at: awopbamboo@gmail.com


J.



BUG List and History
--------------------
