Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

Looking for an app for inserting file names into a WORD table


Best Answer SleepyDude , 21 August 2015 - 09:50 AM

Can anyone point me to such an app? Or is it even possible to do that using Windows itself? Yes you can do it using Windows and some steps... - Open the command prompt on the folder with the files... Go to the full post »


  • Please log in to reply

#1
batpark

batpark

    Member 1K

  • Member
  • PipPipPipPip
  • 1,064 posts

I am looking for an app that will let me copy a list of names of files in a folder (such as I get by clicking say MyComputer\C:\folder100) and then drop those names into a Word table (where each file name becomes a cell in one of the table’s columns).

 

Can anyone point me to such an app? Or is it even possible to do that using Windows itself?

 

Thanks.


  • 0

Advertisements


#2
SleepyDude

SleepyDude

    Trusted Helper

  • Malware Removal
  • 4,976 posts
✓  Best Answer

Can anyone point me to such an app? Or is it even possible to do that using Windows itself?


Yes you can do it using Windows and some steps...

- Open the command prompt on the folder with the files (use the command cd C:\folder100)
- type the command dir /B >list.txt

- load the file list.txt into a new word document, I have an old version with Insert -> File... or open the file and use Copy & Paste

- select all the lines containing the file names (remove list.txt from the list) and then open the Table menu -> Convert -> Text to Table...

- the default options should be ok, simply click Ok and now you should have a table with the data

- use Copy & Paste to copy the data from the table into the final document


  • 0

#3
batpark

batpark

    Member 1K

  • Topic Starter
  • Member
  • PipPipPipPip
  • 1,064 posts

SleepyDude: Yes! That sounds perfect. Thanks a lot. ... batpark


  • 0

#4
batpark

batpark

    Member 1K

  • Topic Starter
  • Member
  • PipPipPipPip
  • 1,064 posts

SleepyDude: Just a follow-up to let you know how well your scheme is working out.

 

And to ask for some explanation of the critical part of that DOS command

                                            dir /B >list.txt

Just what is the significance of the /B?

 

...batpark


  • 0

#5
SleepyDude

SleepyDude

    Trusted Helper

  • Malware Removal
  • 4,976 posts

Hi,

 

The dir /B instructs the command to

 

/B          Uses bare format (no heading information or summary).

 

To limit the normal output of the dir command to print only a list of file names.


  • 0

#6
batpark

batpark

    Member 1K

  • Topic Starter
  • Member
  • PipPipPipPip
  • 1,064 posts

SleepyDude: Thank you. ...batpark


  • 0

#7
SleepyDude

SleepyDude

    Trusted Helper

  • Malware Removal
  • 4,976 posts

SleepyDude: Thank you. ...batpark

 

You are welcome.


  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP