Share via

How can I select a specific column (file names) of text from the notepad content to copy over to Word?

Anonymous
2021-03-26T20:14:31+00:00

Have been able to get a file listing in text form that was placed in notepad. There are several columns (e.g. size, date, file name, etc. Want to just copy the file names over to word.

Windows for home | Windows 10 | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

7 answers

Sort by: Most helpful
  1. Anonymous
    2021-03-27T00:07:21+00:00

    Hi,

    I have never tried this, especially on a file I can not see, but if the columns actually have a title box at the top of the window, you may be able to "Not Show" the columns you do not want and copy\paste what is left..

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2021-03-26T21:59:22+00:00

    I just thought of a way that might work without too much effort on your part.

    The idea is to convert your text file (.txt) into a comma-separated values (.csv) file.

    To do that, you'll have to reformat your text file (using primarily the Replace function) so that the values in each row are separated into columns by placing a comma between each value. To illustrate:

    374   6230    truck   red

    Becomes:

    374,6230,truck,red

    The first row in a .csv must contain column titles. You can get more details on the internet. (Search for: correct format for a .csv file) When done, save the file as a .csv file.

    There are several ways to import a .csv into Word. Once imported, you can do what you like.

    Was this answer helpful?

    0 comments No comments
  3. DaveM121 884.5K Reputation points Independent Advisor
    2021-03-26T20:52:24+00:00

    Hi Joseph

    I am Dave, an Independent Advisor, I will help you with this . . .

    There is no direct easy way to do that, Word does not respect columns that are created in Notepad

    You could open an Excel document, copy the text in Notepad, then paste that into cell A1, that may result in columns of date that you can copy into Word

    Alternatively, did you create that Notepad document using command prompt to list the files/folders in a main folder?

    if so, there is another method:

    Open Excel

    Go to Data - Get Data - From File - From Folder

    Navigate to find the main folder of files and select that

    Wait for Excel to calculate the data, then click Load and wait for that data to load, that will be in proper columns you can paste into Word . . .

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2021-03-26T20:31:16+00:00

    Notepad doesn't have that capability.  There are many free text editors which do.  (Some well known ones are editpad, notepad++, pspad...).  As always, be very careful where you download free programs.

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2021-03-26T20:19:13+00:00

    There's no easy way to do that. Notepad is just a simple text editor.

    Was this answer helpful?

    0 comments No comments