PC Review


Reply
Thread Tools Rate Thread

copy/paste listing of filenames to a word document

 
 
Paul Kraemer
Guest
Posts: n/a
 
      13th May 2008
Hi,

I am using Windows Vista. I have a folder with twenty files in it. I would
like to create a MS Word document that contains a listing of the filenames in
this folder. Can anyone tell me if there is a way I can copy and paste all
twenty filenames into my word document at once? I just want the filenames -
I don't want links to the files or any content within the files. So far, the
quickest way I have figured out to do this is to copy and paste one filename
at a time.

Thanks in advance,
Paul

--
Paul Kraemer
 
Reply With Quote
 
 
 
 
Mark L. Ferguson
Guest
Posts: n/a
 
      13th May 2008
You can do it from the command line, creating a list file to copy to the
clipboard, or insert into the document.
Rightclick one of the files, and Properties. Copy the 'Location' to the
clipboard.
Open a Command Prompt, and type"
"dir" [SPACE] " /b" [SPACE] [no quotes - and then paste location (press
Alt-space, press e, press p)]
continue typing:
[SPACE] " >" [SPACE] " list.txt" [ no quotes- and hit [ENTER] ]
This is a creating a file named 'list.txt" in your user ID folder. Once you
have this listing, Word has some very powerful data handling tools for using
it. Macro language, tables, merging, and others that can access the file to
insert it into your documents.
--
Was this helpful? Then click the Ratings button. Voting helps the web
interface.
http://www.microsoft.com/wn3/locales...eAPostAsAnswer
Mark L. Ferguson
..

"Paul Kraemer" <(E-Mail Removed)> wrote in message
news:A9FC32AE-D9F1-4E94-A93C-(E-Mail Removed)...
> Hi,
>
> I am using Windows Vista. I have a folder with twenty files in it. I
> would
> like to create a MS Word document that contains a listing of the filenames
> in
> this folder. Can anyone tell me if there is a way I can copy and paste
> all
> twenty filenames into my word document at once? I just want the
> filenames -
> I don't want links to the files or any content within the files. So far,
> the
> quickest way I have figured out to do this is to copy and paste one
> filename
> at a time.
>
> Thanks in advance,
> Paul
>
> --
> Paul Kraemer


 
Reply With Quote
 
William
Guest
Posts: n/a
 
      13th May 2008
Go to a command prompt

change directory to where the files reside

type dir> filename.doc

this will create a word document called filename


"Paul Kraemer" <(E-Mail Removed)> wrote in message
news:A9FC32AE-D9F1-4E94-A93C-(E-Mail Removed)...
> Hi,
>
> I am using Windows Vista. I have a folder with twenty files in it. I
> would
> like to create a MS Word document that contains a listing of the filenames
> in
> this folder. Can anyone tell me if there is a way I can copy and paste
> all
> twenty filenames into my word document at once? I just want the
> filenames -
> I don't want links to the files or any content within the files. So far,
> the
> quickest way I have figured out to do this is to copy and paste one
> filename
> at a time.
>
> Thanks in advance,
> Paul
>
> --
> Paul Kraemer


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How Do I Copy A List Of Filenames Into A Word Document? TOFFA99 Microsoft Word Document Management 5 23rd Apr 2010 06:01 AM
How do I copy and paste the bit map to word document =?Utf-8?B?TEFUSEE=?= Microsoft Word Document Management 2 13th Aug 2006 11:38 PM
copy multiple worksheets of a workbook, and paste onto a Word document ( either create new doc file or paste onto an existing file.) I need this done by VBA, Excel Macro Steven Microsoft Excel Programming 1 17th Oct 2005 08:56 AM
how to copy all comments in one word document, paste into another. =?Utf-8?B?U2hhd24=?= Microsoft Word Document Management 1 22nd Mar 2005 08:28 PM
cut or copy and paste a word document Jim OBrien Microsoft Word Document Management 1 8th Aug 2003 11:49 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:39 AM.