Skip to main content

Quickly list all files and sub-directories of a folder or directory in Excel

Kutools for Excel

Boosts Excel With 300+
Powerful Features

Many people may wonder why there is no direct way to get and create a list of files of a specific folder or directory in Excel. But with the Kutools for Excel’s Filename List utility, all files and sub-directories of a specific folder or directory will be listed with the file attributes in Excel.

List all file names from folders in a new worksheet


Click Kutools Plus > Import & Export > Filename List. See screenshot:

shot filename list 1 1


List all file names from folders in a new worksheet

1. Open the workbook that you want to create a list of files from a specific folder in a new worksheet, and then apply the Filename List utility by clicking Kutools Plus > Import & Export > Filename List.

2. In the Filename List dialog box, do the following operations:

(1.) Click 123 button to select the directory which you want to list the files;

(2.) If you need to list the files in subfolders or list hidden files, please check Include files in subdirectories or Include hidden files and folders option.

(3.) Specify the file type that you want to list under the Files type section;

(4.) Select one file size unit you want to display from the File size unit section.

(5.) Checking Create hyperlinks option will create hyperlink for each listed file.

shot-filenames-list2

3. After finishing the above settings, click Ok to create the list. All of the files contained in the folder have been displayed with some attributes in a new worksheet. See screenshot:

shot-filenames-list3

Tip: The list will contain other attributes, such as file size, file type, created date and so on.


Productivity Tools Recommended
The following tools can greatly save your time and money, which one is right for you?
Office Tab: Using handy tabs in your Office, as the way of Chrome, Firefox and New Internet Explorer.
Kutools for Excel: More than 300 Advanced Functions for Excel 2021, 2019, 2016, 2013, 2010, 2007 and Office 365.

Kutools for Excel

The functionality described above is just one of 300 powerful functions of Kutools for Excel.

Designed for Excel(Office) 2021, 2019, 2016, 2013, 2010, 2007 and Office 365. Free download and use for 30 days.

Screen shot of Kutools for Excel

btn read more      btn download     btn purchase

Comments (15)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
I have found when using this feature on a network share it does not always capture all files. Just this morning I ran it on a network share that included over 3,000 and I ended up with only 1,400 rows in my sheet and no errors thrown.

Is there a limit to how many files this can create an index for?
This comment was minimized by the moderator on the site
Hi Bradley Gray,

Sorry for the trouble. What kind of network share are you using, OneDrive or something? We need more details to fix the problem.
This comment was minimized by the moderator on the site
Bonjour,
j'ai installé et utilisé KUTOOLS+ importer/exporter + liste ds noms de fichiers.
je n'ai pu utiliser que 3 fois dans la même journée.
ensuite bloquée.
je croyais que j'avais droit à 30 jours gratuits.

trop dégoutée.
This comment was minimized by the moderator on the site
Hi SENGA28,
It appears that you have previously installed and used the free trial version of Kutools. After the 30-day free trial, each feature of Kutools is only allowed to be used 3 times. Sorry for the inconvenience.
This comment was minimized by the moderator on the site
Is there any way to get a list of files in a Microsoft Teams or SharePoint location? I can synch to a local drive but then the hyperlinks are local and not the online ones.
This comment was minimized by the moderator on the site
Hi Rosalyn,
This feature does not support this operation. Sorry for the inconvenience.
This comment was minimized by the moderator on the site
I'm giving a try to Kutools for excel, in specific the Filename List feature but for some reason it only brings 30,000 entries of a folder/subfolders structure with almost 300,000 files. Is there any limitation?
This comment was minimized by the moderator on the site
Yesterday I was a bit disillusioned over this, I set Kutools running at about 9.30, asking it to create a list of file data for Access databases on a network drive. Excel immediately appeared to crash. Hours later, a pop up opened with a progress bar (0%). Windows kept reporting that Excel wasn't responding. By the time I left for the day, the progress bar had moved to 1%. However when I arrived at 9.00 today, the process was complete.

Two comments I hope will be useful to the developers:

1. This process took 24 hours to complete. A warning that that may be possible would be useful.
2. The resulting spreadsheet did not contain any personal data - no 'last user', no 'creator'. Apart from the list of 9,095 Access databases, I also needed the people to go with those data so I could contact them. Is it possible to add this function, or, if it already exists, tell me how?
This comment was minimized by the moderator on the site
how can I get list of folder names only
This comment was minimized by the moderator on the site
I am trying to list the files off of my Samsung phone, connected as an external drive, however, it is grayed out for all files on my phone. Will it not work this way? I seem to remember using my external hard drive and doing the same thing. Thanks. Still learning about your product, but it is definitely a time saver.
This comment was minimized by the moderator on the site
Hi, The tool is just awesome. In my Scope, I am Extracting the Video/Audio file names, I would like to know if file duration can be extracted too. Thanks.
This comment was minimized by the moderator on the site
hi how can i get only folder lis
This comment was minimized by the moderator on the site
I have experiencing the same issue as Gary P. The app will not list files in folders with more than 10,000 files, even if I specify a file type
This comment was minimized by the moderator on the site
[quote]I have experiencing the same issue as Gary P. The app will not list files in folders with more than 10,000 files, even if I specify a file typeBy Eleanor H[/quote] We will enhance it soon. :-)
This comment was minimized by the moderator on the site
Has this issue been addressed in the recent versions....I am using v16.5 and it does not list anything above 32766 files...tried couple of times but still stops at the same level
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations