Working with Text Files

by Allen Wyatt
(last updated March 13, 2014)

Drive allows you to store all sorts of files so they can be accessed by you or others from almost anywhere. For instance, you might have a number of simple text files that you want to store in Drive. Once they are uploaded, you can easily manipulate them like you would other files.

What you can't do, however, is edit the text files. When you click on a text file stored in Drive, you'll see the contents of the file displayed in a file viewer, but you cannot edit that content.

How, then, can the text-file content be used? The easiest way is to open it in Drive (which displays the content in the viewer) and then select the content you want to use. Just click at the start of the content and drag the mouse to the end of the content. (If you want to select all the content in the file, press the Ctrl+A shortcut.) You can then press Ctrl+C to copy the selected content to the Clipboard.

Now switch over to a different program, such as Docs or Sheets. Position the insertion point where you want the text-file content to be placed, and then press Ctrl+V. This pastes the information into the document and you can then edit it as desired.

Once pasted into the document or spreadsheet, you may need to "clean up" the text a bit. This is particularly true if you used Ctrl+A to select the entire text file. (Ctrl+A also selects any other information displayed in the viewer, such as page number indicators.)

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Adding Gridlines to a Table

You can easily add borders to your table cells. This tip shows you how.

Discover More

Word Freezes When Working with Lots of Clip Art

Don't you hate it when Word freezes? Laurie has that problem when she works with clip art in her documents. There are any ...

Discover More

Linking Word Documents

Want to add one document to another document? You can do it by adding links, described in this tip.

Discover More
More DriveTips

Controlling the View in Drive

Drive lets you organize and work with files that it stores for you. It also gives you control over how you view the files ...

Discover More

Making Fast Work of Uploading Files to Drive

What's the fastest way to get files into your Drive space? Why, dragging and dropping, of course! You'll find the ...

Discover More

Previewing Your Files

Want to get a glimpse of what is inside a file without evening opening it? Drive provides two distinct ways of peeking ...

Discover More
Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is six minus 5?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)