In Windows XP, Is There A Way To Copy Filenames Shown In A Folder, And Paste Them Into A Text Editor?

9

9 Answers

Anonymous Profile
Anonymous answered
Try this;

Click Start -> Run -> Type cmd -> Hit Enter

Run the Command cd {path.to.dir}

When at the dir type the following command;

dir /B > c:\output.txt

and hit enter.  This will create a file output.txt in the root 'c' dir with all the files names in the text file.
Anonymous Profile
Anonymous answered
Use small program called 'copy file names' - it installs
an option in your right click menu.... So ultra easy...
Chip Profile
Chip answered
The answer above works well for coping a single folder-name or filename. I would like to select-all, or several filenames in a folder, to copy and paste into a text editor. When I select several files, click on Rename and press Ctrl-C, only one filename stays highlighted, and it's the only one that gets pasted with a Ctrl-V. If I do the same without clicking on Rename, all the selected files eventually do paste in, but very slowly, with each filename being placed inside a separate object box. If I try to Special-Paste, the only options available are for pasting Files or Microsoft Objects (not text). Selecting either Files or Objects, will paste the contents of each file into a separate object-box. I only want to paste the text (of each filename) into a document; a list of the filenames into the document. In DOS one can do this with the command, "DIR > filename". Is there anyway to do this in Windows?
thanked the writer.
Anonymous
Anonymous commented
Hi, were you able to do this? Trying the tip below, but without success. Would love to know how this can be done. Thanks!
Anonymous Profile
Anonymous answered
Above is only good when you want to copy _every_ file name in that catalog, often I want to copy certain file names from a catalog that has thousands of files. I really wish MS would make it possible inside windows. There are still many, many missing functions from Windows, so many that you often wonder if the creators themselves really use Windows to anything other than the occational game.
Anonymous Profile
Anonymous answered
I used to know a way to install a contextual menu (right click) item such that I'd highlight a group of files, right click and 'copy file list to clipboard' or some such.  I lost it when they upgraded my machine.  Keep looking!
Anonymous Profile
Anonymous answered
I found this post on another site, works great...

Use the PrintFolders utility that you can download from my web site. You can
configure it to extract exactly what you want from a folder or folders of
files.

--
>< >< >< >< >< >< >
Anonymous Profile
Anonymous answered
Ok ,first off click START
Type RUN
Type CMD in run box and hit enter

This brings up DOS ,now you have to change directory(cd) to the directory you are trying to copy the file names from. In this example ,a folder on my desktop called PSP Games
.You will of course enter the path to your folder of choice
So at prompt>_ type
thanked the writer.
Anonymous
Anonymous commented
hi, i am trying to do this but without success. Once i cd to the folder, what exactly do i need to type to get the list of filenames in that folder?
Anonymous
Anonymous commented
1) on the cmd prompt, go to the directory where you want to list your file
ex: C:\> dir /B
->>> This will list all the files inside your directory or the files that you wanted to copy
->>> if you want see more options of dir, type the ff on the dos prompt c:\> help dir

2) Now you're ready to select all the files by pressing "alt+space" keys on your keyboard
->>> This will prompt you a pull down menu, select "edit" then "select all"
->>> The select all will select all the items/text on your cmd screen
->>> So it's necessary that before you display the files, type "clear" to clear the screen

3) The selected txt/files are now ready for copying. Press "alt+space" again then "edit" then "copy"

4) You can now open a notepd or a word to paste the copied txt/files.

5) Have a wide smile buddy...
Anonymous Profile
Anonymous answered
Buy a Mac, and select de files click copy and paste into text app.
That's easy isn't it? ;-)
Suhail Ajmal Profile
Suhail Ajmal answered
Yes there is a way to copy file names of the folders and paste them in the word pad. Follow the following steps.

-Right click on the folder.
-Click on Rename
-Now press Ctrl+C
-Now go to the word pad or any text editor and press Ctrl+V

Answer Question

Anonymous