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.   


  3. #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

  4. #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
Listing Vista Filenames & Details General Discussion
Copy / Paste from Word Vista General
Cursor Positioning and Copy-Paste Deactivated in Word Vista General
accidentally moved a MS Word document,now it dissapears everytime i open any word document Vista performance & maintenance
copy a word document to a ppc? Vista General