Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > copy/paste listing of filenames to a word document

Reply
Thread Tools Display Modes

copy/paste listing of filenames to a word document

 
 
Paul Kraemer
Guest
Posts: n/a

 
      05-13-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

 
      05-13-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" <> wrote in message
news:A9FC32AE-D9F1-4E94-A93C-...
> 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

 
      05-13-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" <> wrote in message
news:A9FC32AE-D9F1-4E94-A93C-...
> 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
Display Modes

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
Cursor Positioning and Copy-Paste Deactivated in Word Gary P Windows Vista General Discussion 1 08-02-2008 01:14 AM
Copy / Paste from Word Bicky Windows Vista General Discussion 3 02-17-2008 08:53 PM
accidentally moved a MS Word document,now it dissapears everytime i open any word document tim Windows Vista Performance 1 09-28-2007 10:40 AM
accidentally moved a MS Word document,now it dissapears everytime i open any word document tim Windows Vista General Discussion 2 09-14-2007 05:44 PM
copy a word document to a ppc? Gerhard Windows Vista General Discussion 3 09-13-2006 05:08 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59