Directory Print Or Export File Names from Directory: Copy As Path

Copy As Path

I had to accomplish a task today of exporting hundreds of image file names located in a few directories on my computer. Basically the client wanted a spreadsheet of the all the file names I had created.

No problem I thought as I had remembered doing this a long time ago with a free software program called Karen’s Directory Printer. It would list the name of the files and/or folders of selected directories. BEFORE going looking for the program to download and install I thought, hey, it’s been years and years, I wonder if Windows has something built-in to do this. And guess what. It did.

For me operating on a Windows 7 platform I was able to simply copy the file names from Windows Explorer and paste them into a column on my spreadsheet. Here’s what I did:

1) In Windows Explorer press Ctrl+A to select all files in your folder. Then hold the Shift key and right-click to bring up the power user’s context menu and select the “Copy as Path” option.

2) From there you can paste the list of file names anywhere.

Done!

Well actually in my case I didn’t want the whole path (ie. F:\Clients\2016\Sample\image-file-01.jpg) so I ran a “find and replace” command in my spreadsheet software to remove the path preceding the file name which was all I wanted.

Additional Note: Karen Kenworthy of Karen’s Power Tools passed away in 2011. Millions of people used Karen’s software over the years. She will be missed.

Tags: , , , , ,

Leave a Reply

Other tags used in my blog:

 (1)  (6)  (1)  (16)  (1)  (1)  (17)  (1)  (16)  (1)  (1)  (7)  (1)  (4)  (15)  (5)  (2)  (27)  (9)  (1)  (11)  (4)  (4)  (4)  (8)  (1)  (6)  (1)  (4)  (1)  (1)  (1)  (3)  (1)  (3)  (4)  (7)  (3)  (3)  (4)  (1)  (1)  (2)  (1)  (7)  (10)  (12)  (2)  (6)  (1)  (3)  (16)  (2)  (3)  (1)  (5)  (1)  (27)  (4)  (4)  (9)