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

Converting to Word 6.0 Format

Need to convert your document to a really old format previously used in Word? The solution may already be built into the ...

Discover More

Answering Questions in Order

It is not unusual to use Excel to gather the answers to users' questions. If you want your users to answer your questions in ...

Discover More

Referencing Fields in Another Document

Sometimes you may have two documents that are so integrally related to each other that the one document may require the use ...

Discover More
More DriveTips

Getting a File Count

Want to know how many files you've got stored in Drive or in a folder or two? There is no built-in tool to get the info, but ...

Discover More

Limiting which File Types You See in Drive

Overwhelmed with the number of files displayed on your screen when using Drive? Here's a handy way you can limit what is ...

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 under ...

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 8 - 3?

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