Is there a way to copy Folder names (not file names) into Excel 365 without using macros? I am running Windows 10 and Office 365. I could use a 3rd party software if it was free. Thanks for any help you might offer.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Copying Folder Names Into Excel
Home » Forums » AskWoody support » Microsoft Office by version » Office 365 and Click-to-Run » Copying Folder Names Into Excel
- This topic has 3 replies, 4 voices, and was last updated 4 years, 2 months ago.
Tags: Print folder Excel
AuthorTopicwryterjccc
AskWoody PlusJanuary 16, 2021 at 9:29 am #2334767Viewing 2 reply threadsAuthorReplies-
Paul
AskWoody PlusJanuary 17, 2021 at 2:01 pm #2335084You can use Total Commander https://www.ghisler.com/, which is shareware that you can try with no limitations. In Total Commander, highlight the folders whose names you want to copy. Then click MARK and then COPY SELECTED NAMES TO CLIPBOARD. Another option is COPY NAMES WITH PATH. Once in Clipboard, paste into Excel spreadsheet.
Dell XPS17, 11th Gen Intel I7, 64gb RAM, Windows 11 Home 23H2
-
Paul T
AskWoody MVPJanuary 17, 2021 at 2:43 pm #2335096 -
RetiredGeek
AskWoody_MVPJanuary 17, 2021 at 4:01 pm #2335107Or you could use this powershell:
$x = (Get-ChildItem -path "G:\BEKDocs" -directory -recurse -depth 2).FullName | Sort Set-Clipboard -Value $x
Notes:
- -Path – sets the base path, i.e. top directory/folder.
- -Recurse parameter to have the code look at all levels below the specified path level.
- -Depth – can be used to control how far down the chain -Recurse works.
- Pipe output to Sort ( | Sort ) to get your directories in sorted order.
Example output:
G:\BEKDocs\2020 Tax Statements G:\BEKDocs\Access G:\BEKDocs\Access\Access Documenter G:\BEKDocs\Access\Articles G:\BEKDocs\Access\Code to Test G:\BEKDocs\Access\Documentation G:\BEKDocs\Access\Exported Modules G:\BEKDocs\Access\VBA G:\BEKDocs\Access\Working Backups G:\BEKDocs\Batch G:\BEKDocs\Batch\BackupTasks G:\BEKDocs\BTB G:\BEKDocs\BTB\Home Mgmt G:\BEKDocs\BTB\Image and Video Tools G:\BEKDocs\BTB\Maintanence G:\BEKDocs\BTB\Maintanence\Anti-Malware G:\BEKDocs\BTB\Maintanence\Backup Tasks G:\BEKDocs\BTB\Maintanence\System Information G:\BEKDocs\BTB\Maintanence\Tuning Utilities G:\BEKDocs\BTB\Office Tools G:\BEKDocs\BTB\PowerShell G:\BEKDocs\BTB\PowerShell\Resources G:\BEKDocs\BTB\PowerShell\Utilities G:\BEKDocs\BTB\Tips Docs ...
HTH
1 user thanked author for this post.
Viewing 2 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Oracle kinda-sorta tells customers it was pwned
by
Nibbled To Death By Ducks
5 hours, 6 minutes ago -
Global data centers (AI) are driving a big increase in electricity demand
by
Kathy Stevens
15 hours, 26 minutes ago -
Office apps read-only for family members
by
b
18 hours, 3 minutes ago -
Defunct domain for Microsoft account
by
CWBillow
14 hours, 54 minutes ago -
24H2??
by
CWBillow
5 hours, 6 minutes ago -
W11 23H2 April Updates threw ‘class not registered’
by
WindowsPersister
1 day, 2 hours ago -
Master patch listing for April 8th, 2025
by
Susan Bradley
2 hours, 57 minutes ago -
TotalAV safety warning popup
by
Theodore Nicholson
14 hours, 51 minutes ago -
two pages side by side land scape
by
marc
2 days, 15 hours ago -
Deleting obsolete OneNote notebooks
by
afillat
2 days, 17 hours ago -
Word/Outlook 2024 vs Dragon Professional 16
by
Kathy Stevens
1 day, 20 hours ago -
Security Essentials or Defender?
by
MalcolmP
1 day, 23 hours ago -
April 2025 updates out
by
Susan Bradley
4 hours, 34 minutes ago -
Framework to stop selling some PCs in the US due to new tariffs
by
Alex5723
1 day, 16 hours ago -
WARNING about Nvidia driver version 572.83 and 4000/5000 series cards
by
Bob99
1 day, 7 hours ago -
Creating an Index in Word 365
by
CWBillow
2 days, 9 hours ago -
Coming at Word 365 and Table of Contents
by
CWBillow
21 hours, 35 minutes ago -
Windows 11 Insider Preview Build 22635.5170 (23H2) released to BETA
by
joep517
3 days, 12 hours ago -
Has the Microsoft Account Sharing Problem Been Fixed?
by
jknauth
3 days, 16 hours ago -
W11 24H2 – Susan Bradley
by
G Pickerell
3 days, 18 hours ago -
7 tips to get the most out of Windows 11
by
Alex5723
3 days, 16 hours ago -
Using Office apps with non-Microsoft cloud services
by
Peter Deegan
3 days, 9 hours ago -
I installed Windows 11 24H2
by
Will Fastie
1 day, 15 hours ago -
NotifyIcons — Put that System tray to work!
by
Deanna McElveen
3 days, 21 hours ago -
Decisions to be made before moving to Windows 11
by
Susan Bradley
15 hours ago -
Port of Seattle says ransomware breach impacts 90,000 people
by
Nibbled To Death By Ducks
4 days, 5 hours ago -
Looking for personal finance software with budgeting capabilities
by
cellsee6
3 days, 14 hours ago -
ATT/Yahoo Secure Mail Key
by
Lil88reb
3 days, 14 hours ago -
Devices with apps using sprotect.sys driver might stop responding
by
Alex5723
4 days, 23 hours ago -
Neowin – 20 times computers embarrassed themselves with public BSODs and goofups
by
EP
5 days, 7 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.