branding




Software >> Other Software

 |  Print Topic
Jump to first unread post. Pages: 1
Braindead
regular


Reg'd: Fri
Posts: 482
Putting a list of filenames into Word
      #436755 - Thu Aug 13 2009 07:26 AM

As part of my family history research, I have about 100 images (.jpg) of newspaper articles from the Times and I want to create a summary sheet saying what each article is about. Is there an easy way of copying all the filenames and pasting them into Word, or will I have to write them out individually? Thanks in advance.

Post Extras: Print Post   Remind Me!   Notify Moderator  
BurrWalnut
Chippendaler


Reg'd: Tue
Posts: 3729
Loc: England
Re: Putting a list of filenames into Word [Re: Braindead]
      #436756 - Thu Aug 13 2009 08:44 AM

Here is an example that creates a txt file of all JPG files beginning with the word Times located on the C drive. Change the ATTRIB statement below to suit your selection, then select and copy the four lines:

attrib /s c:\times*.jpg >"%userprofile%\desktop\myfiles.txt
start notepad "%userprofile%\desktop\myfiles.txt
exit
cls

Now go to Start > Run, type cmd and press Enter. Using the mouse right-click, Paste the 4 copied lines to the command prompt window. When the list has been compiled, Notepad will open and display the list of files.

Select all the text and Copy/Paste it to Word. The listing shows the attributes at the beginning of each line but they can be removed with a bulk replace.

To delete the file from the Desktop, just right-click it then choose Delete.

--------------------
The Chippendale Society


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1

Rate this topic

Jump to


Extra information
0 registered and 3 anonymous users are browsing this forum.

Moderator:  Mouse, greysts, Hello_There, bricat, Joe_London, putasolutions, John_McKenna, TheFatControlleR 


Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      Mark-up is enabled

Rating:
Topic views: 0

Contact Us | Privacy statement Main website



Search

© Copyright IPC Media Limited 2009, All rights reserved