跳到主要內容

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

Excel的Kutools

提升 Excel 300+
強大的功能

許多人可能想知道為什麼沒有直接方法可以在Excel中獲取和創建特定文件夾或目錄的文件列表。 但是隨著 Excel的Kutools文件名列表 實用程序,將在Excel中列出特定文件夾或目錄的所有文件和子目錄以及文件屬性。

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


點擊 Kutools 加 > 進出口 > 文件名列表。 看截圖:

拍攝文件名列表1 1


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

1。 打開要從新工作表中的特定文件夾中創建文件列表的工作簿,然後應用 文件名列表 通過單擊實用程序 Kutools 加 > 進出口 > 文件名列表.

2。 在 文件名列表 對話框中,進行以下操作:

(1.)點擊 123 按鈕選擇您要列出文件的目錄;

(2.)如果需要在子文件夾中列出文件或列出隱藏文件,請檢查 在子目錄中包含文件 or 包括隱藏的文件和文件夾 選項。

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

(4.)從菜單中選擇要顯示的文件大小單位。 文件大小單位 部分。

(5.)檢查 創建超鏈接 選項將為每個列出的文件創建超鏈接。

鏡頭文件名列表2

3。 完成以上設置後,單擊 Ok 創建列表。 文件夾中包含的所有文件已在新工作表中顯示,並帶有一些屬性。 看截圖:

鏡頭文件名列表3

尖端:列表將包含其他屬性,例如文件大小,文件類型,創建日期等。


生產力工具推薦
以下工具可以極大地節省您的時間和金錢,哪一種適合您?
Office Tab: 在辦公室中使用方便的選項卡,作為Chrome,Firefox和New Internet Explorer的方式。
Excel的Kutools: 超過300種Excel高級功能 2021、2019、2016、2013、2010、2007 和 Office 365。

Excel的Kutools

上述功能只是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