Note: The other languages of the website are Google-translated. Back to English
English English

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

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

Office Tab Enable Tabbed Editing and Browsing in Office, and Make Your Work Much Easier...
Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%
  • Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
  • More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words.
  • Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum.
  • Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns.
  • Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Send Personalized Emails to Multiple Recipients in Bulk.
  • Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
  • More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.

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 60 days.

Screen shot of Kutools for Excel

btn read more      btn download     btn purchase

Comments (13)
No ratings yet. Be the first to rate!
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
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
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
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
how can I get list of folder names only
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
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
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
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.
There are no comments posted here yet
Leave your comments
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations