跳到主要内容

在Excel中快速列出文件夹或目录的所有文件和子目录

Kutools for Excel

提升 Excel 300+
强大的功能

许多人可能想知道为什么没有直接方法可以在Excel中获取和创建特定文件夹或目录的文件列表。 但是随着 Kutools for Excel文件名列表 实用程序,将在Excel中列出特定文件夹或目录的所有文件和子目录以及文件属性。

列出新工作表中文件夹中的所有文件名


点击 Kutools 加 > 进出口 > 文件名列表。 看截图:

镜头文件名列表1 1


列出新工作表中文件夹中的所有文件名

1。 打开要在新工作表中的特定文件夹中创建文件列表的工作簿,然后应用 文件名列表 通过单击实用程序 Kutools 加 > 进出口 > 文件名列表.

2。 在 文件名列表 对话框中,进行以下操作:

(1.)点击 123 按钮选择您要列出文件的目录;

(2.)如果需要在子文件夹中列出文件或列出隐藏文件,请检查 在子目录中包含文件 or 包括隐藏的文件和文件夹 选项。

(3.)在“文件名”下指定要列出的文件类型。 档案类型 部分;

(4.)从菜单中选择要显示的文件大小单位。 文件大小单位 部分。

(5.)检查 创建超链接 选项将为每个列出的文件创建超链接。

镜头文件名列表2

3。 完成上述设置后,单击 Ok 创建列表。 文件夹中包含的所有文件已在新工作表中显示,并带有一些属性。 看截图:

镜头文件名列表3

Tips::列表将包含其他属性,例如文件大小,文件类型,创建日期等。


生产力工具推荐
以下工具可以极大地节省您的时间和金钱,哪一种适合您?
Office Tab: 在办公室中使用方便的选项卡,作为Chrome,Firefox和New Internet Explorer的方式。
Kutools for Excel: 超过300种Excel高级功能 2021、2019、2016、2013、2010、2007 和 Office 365。

Kutools for Excel

上述功能只是 Kutools for Excel 300 个强大功能之一。

专为 Excel(Office) 2021、2019、2016、2013、2010、2007 和 Office 365 设计。免费下载和使用 30 天。

Kutools for Excel 的屏幕截图

btn了解更多      btn下载     btn购买

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