Windows Vista Forums

copy/paste listing of filenames to a word document

  1. #1


    Paul Kraemer Guest

    copy/paste listing of filenames to a word document

    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

      My System SpecsSystem Spec

  2. #2


    Mark L. Ferguson Guest

    Re: copy/paste listing of filenames to a word document

    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" <PaulKraemer@xxxxxx> wrote in message
    news:A9FC32AE-D9F1-4E94-A93C-1B4D10072165@xxxxxx

    > 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

      My System SpecsSystem Spec

  3. #3


    William Guest

    Re: copy/paste listing of filenames to a word document

    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" <PaulKraemer@xxxxxx> wrote in message
    news:A9FC32AE-D9F1-4E94-A93C-1B4D10072165@xxxxxx

    > 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

      My System SpecsSystem Spec

copy/paste listing of filenames to a word document

Similar Threads
Thread Forum
From PDF to Word copy & paste issue
Whenever I copy from a pdf to my word 2007 document I get a dotted box around my pasted material. I have a picture of it - any ideas what this...
Software
Listing Vista Filenames & Details
I gather digital images (via e-mail) from members of our camera club. There are simple specification for filename, size and dimensions, but itís...
General Discussion
Copy / Paste from Word
This is probably stupid ! I have scanned a document into Word, saved it as a Word document, I cannot find a way of editing this document or use the...
Vista General
Cursor Positioning and Copy-Paste Deactivated in Word
On January 8 in Word (Office Enterprise) I was able to move my cursor within the text using my mouse and left click, as well as click-drag to...
Vista General
accidentally moved a MS Word document,now it dissapears everytime i open any word document
Hi, I accidentally moved a MS Word document with the mouse,now it dissapears everytime i open any word document .... so that it cannot be seen at...
Vista performance & maintenance
accidentally moved a MS Word document,now it dissapears everytime i open any word document
Hi, I accidentally moved a MS Word document with the mouse,now it dissapears everytime i open any word document .... so that it cannot be seen at...
Vista General
copy a word document to a ppc?
When I try to copy a word document from vista to a ppc (axim30), I get the message: ‚ÄĚThe file may be copied to the device for storage or transport...
Vista General