Copy and Paste PC question

I am making a list, in MS Word, of existing documents involved in a project I’m working on. Because of naming conventions etc the document names, as listed in Windows Explorer are the same as the generally used title and the same as would be used in normal conversation. What would make my life much easier would be if I could copy, from Windows Explorer, the list and then paste it as a list in the Word doc where I could use and manipulate it as text. On the two attempts all I succeeded in doing was actually opening the listed documents.

Is this action possible and, if so, how is it done?
Thank you very much.

Not directly through Windows Explorer, no. There are programs out there, some that are free, which allow you to print and/or create text files from your directory listings. I used to use one called – creatively enough – Directory Printer.

Kind of…

You can select a list of files, shift-right-click, and select “Copy As Path”. The problem is that it copies the entire path of the files, not merely the name, like this:

“R: est\file1.txt”
“R: est\file2.txt”

From there you could set up a quick&dirty Excel sheet with a few formulas to remove all of the path except the file name?

Edit: Contrary to what Asimovian said, the shift-right-click shortcut is built-in to Explorer, it doesn’t require any plug-ins or downloads. If you were worried about that.

I love this board. Ignorance fought!

You can shift+right-click on the directory and select ‘Open command window here’
At the prompt type dir /S > filelist.txt and enter, the file will be in that directory.

You can also try adding /N or /W.

It works! Thanks everyone for the suggestions.

Use the old DOS directory command:

In a DOS box (Command Prompt) type:

That will put a list of the files in mydirectory into the file mylist.txt, which you can then put into your Word document. If you don’t want all of the files, you could limit them, like using f* to get only filenames starting with the letter f, for example.

You could try and find a program calledFileGrab by PC Magazine.

It is a utility once available for free on the PC Mag website but a fee is now charged for PC Mag utilities.

It may still be available for free on other downloadable sites

And yes, even if it’s from 1997 or so, it does run windows 7.

This. Although an easier way to clean up your list so that you only have the file names is to copy the file names in the way described by Blakeyrat, then paste that into your Word document. You’ll have your list, but with the whole path.

Then copy the path (everything but the file name) from one of the items on the list. Press CTRL-H (for find and replace), paste the path into the “find what” box, and leave the “replace with” box empty. Then click on “Replace All,” and there you are – you’ll have a list of nothing but file names, with no messing around with Excel formulas. You’ll have quotation marks around the file names, but you can delete them using Find and Replace just like you deleted the path.

Reboot in MacOS X.

Copy files. Paste into text document. Save. Done.

What version of Windows does the command work in? I have Win XP SP3 and shift-right-click does just the same as normal right-click.

Vista and 7. You can get the open command window feature (unshifted) with this powertoy, amd copy as path by following these instructions.

Thanks.

Oh, thank God I’m not crazy. I read that earlier and was like, “but I’ve been installing a powertoy for that function for years, and all I had to do was … ?”

I only have the one Vista box, y’see.

:slight_smile:

Coolio! I’ve never gotten powertoys for W7 for some reason. And I miss them. Now I have that one, at least! Thanks.

It saddens me to learn there are so many people still on XP…

The reason I didn’t know whether or not it worked on XP is simply that I haven’t *used *XP in 5 years, and I no longer remember what features it did or did not have. Anyway, sorry for any confusion.

But you don’t need it for W7, it’s built-in!