Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
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

  • Member
  • PipPipPip
  • 596 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,148 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

  • Topic Starter
  • Member
  • PipPipPip
  • 596 posts

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


  • 0

#4
batpark

batpark

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 596 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,148 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

  • Topic Starter
  • Member
  • PipPipPip
  • 596 posts

SleepyDude: Thank you. ...batpark


  • 0

#7
SleepyDude

SleepyDude

    Trusted Helper

  • Malware Removal
  • 4,148 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