COPYING FILE NAMES TO A WORD DOCUMENT

  • Thread starter Thread starter BUD
  • Start date Start date
B

BUD

How dows one copy the file names shown in Windows Explorer
or any other application, to a word document? Not the
file contents, just the names of the files (or folder
names).
 
Right click and the file and select Rename>>Press CTRL+C (To copy the text)
and goto Word and press CRTL+V (To paste it)
 
BUD said:
How dows one copy the file names shown in Windows Explorer
or any other application, to a word document? Not the
file contents, just the names of the files (or folder
names).

Open a Command Prompt window, change to the proper directory with CD and
enter

_DIR > filenames.txt_

Close the Command Prompt window, load the file as a text file in
Word...voilà!

--
M.f.G.
Michael Kimmer

"Ein Tag an dem Du nicht lächelst ist ein verlorener Tag"
"Eine Nacht in der Du nicht schläfst ist eine verschlafene Nacht"
 
Chris:
Thank you very mcuch for the rapid response. The
operations works perfectly, for one file. I have
hundreds. Isn't there a way to just print the file names
or select them all and copy them?

Regards,
BUD
 
Download PrintFolder
http://www.paulsxp.com/downloads.html

Install and open the application. Browse to your folder and open it.
Uncheck Date and Time. Now you can select all the files and paste them into
your word doc. the only problem i have found is that you will have to
remove space at the end of each file name.
 
Thank you for the quick reply. I tried it and got
"0 filenames.txt
1 file<s> 0 bytes

Not sure exactly what went wrong.

Regards,
BUD
 
BUD said:
How dows one copy the file names shown in Windows Explorer
or any other application, to a word document? Not the
file contents, just the names of the files (or folder
names).

Try Karen's Directory Printer. Does a nice job. It copies the file names
to itself. If you wish to also have it in work just highlight in all and
Copy/Paste it into Word.

http://www.karenware.com/powertools/ptdirprn.asp
 
a.. To get a list of files you can use the first tip on this page or install the Win 95 Sendto Powertoys (described elsewhere on this page) and send the selected files to the Clipboard As Name powertoy.
a.. To put the URL of a favourite on the clipboard rather than it's name use Clipboard As Content.

Install the Windows 95 Send To Power Toys. After installing go to Add/Remove programs in Control Panel and select Send To Extension Power Toys, click Add/Remove and clear the checkboxes for the three mail extensions. Type the following line in Start - Run.

regsrv32 sendmail

This fixes the one problem that installing Win95 Power Toys Send To causes. It still worthwhile installing then fixing for the added functionally of Send To Powertoys. Win98 Send To Desktop As Shortcut and Powertoys Send to Mail can't co-exist, but Win 98 includes it's own Send To Mail.

http://www.microsoft.com/Windows95/downloads/contents/WUToys/W95PwrToysSet/Default.asp

Normally one drags the file into Start - Run, and cuts the name from there.
 
Greetings --

From the command prompt (Start > Run > Cmd.exe), simply change to
the desired directory and type "dir > filelist.txt" or "dir > lpt1,"
just as you used to do in DOS. Any of the switches for the DIR
command (type "dir /?") will work with this command, if you wish to
modify the output. You can then subsequently edit the resulting text
file using Word.

Alternatively:

HOW TO Add a Print Directory Feature for Folders in Windows XP
http://support.microsoft.com/?kbid=321379


Bruce Chambers

--
Help us help you:



You can have peace. Or you can have freedom. Don't ever count on
having both at once. -- RAH
 
BUD said:
Thank you for the quick reply. I tried it and got
"0 filenames.txt
1 file<s> 0 bytes

Not sure exactly what went wrong.

Regards,
BUD


directory with CD and


file in


When you execute the command:

dir > filenames.txt

you will get the directory listing into the file filenames.txt. When
the command is actually running you should get nothing on the screen.
you have to look at the file "filenames.txt" with a text editor
(Notepad, Word, or something).
 
That's right. That's the file in the folder. The file is created when you start the redirection and redirections are handled before commands.
 
Greetings --

You're welcome.

Bruce Chambers

--
Help us help you:



You can have peace. Or you can have freedom. Don't ever count on
having both at once. -- RAH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top