Code for filename / path and filename (WordPerfect, all recent versions)

June 4, 2009

As with Word, all recent versions of WordPerfect allow you to insert a code for a document’s file name or its path (specific location in the computer, including drive, folder, subfolder, etc.) and file name. Consider adding such a code to each of your templates; that way, you won’t have to insert it in individual documents (it will be embedded in every document based on a template that includes the code).

To insert a filename or path and filename code, first position the cursor where you want the code to go. (If you want the information identifying the document to appear in a footer, click Insert, Header/Footer, Create, and click the radio button next to either Footer A or Footer B. That will place the cursor within the footer editing screen.) Next, click the Insert menu, Other, and, depending on which form of identification you wish to use, click either Filename or Path and Filename.

Unlike in Word, you will not see anything immediately after inserting the code unless you have saved the document already. (Word shows the temporary “screen name” of unsaved files, such as Document1 or Document2; WordPerfect doesn’t display anything at all — although you can see the Filename code if you turn on Reveal Codes — until you save the document.)

You can turn a filename or path and filename code into a “QuickWord” and insert it with just a few keystrokes. To do so, format the code any way you like — change the font face or size, for example — and select the code (being careful to include the codes for the font face and size; otherwise, those attributes might not appear when you expand your QuickWord entry). Then click the Tools menu, QuickWords. When the QuickWords dialog opens, type an abbreviation, such as “tag” (without quotation marks). CAUTION: Remember (from the entry on QuickWords) that if you use an actual word as your abbreviation, you run the risk of accidentally inserting a filename code whenever you type that word. As a workaround, you can insert a character such as a backslash (\) or an asterisk (*) before the abbreviation (resulting in, for instance, \tag or *tag). When you want to use the QuickWord, just be sure to type the abbreviation exactly the way you created it — i.e., including the special character — or it won’t expand.

Before closing out of the dialog, check to make sure that the two expansion options are set to your satisfaction. If “Expand QuickWords as you type them” is checked, the QuickWord entry will be triggered automatically when you type it and then press one of the following:

  • the spacebar;
  • the Tab key; or
  • the Enter key.

Like AutoText and Quick Parts in Word, QuickWords are not case-sensitive. In other words, TAG, tag, Tag, and all other permutations of the word work exactly the same way.

Entry Filed under: Uncategorized. .


© Jan Berinstein 2009. Unauthorized use and/or duplication of this material without express and written permission from this blog’s author is strictly prohibited. Excerpts and links may be used, provided that full and clear credit is given to Jan Berinstein, with appropriate and specific direction to the original content.

Keep the tips coming

Have these tips been useful to you? If so, please make a (modest) contribution to help keep the blog going.

Many thanks for your support!

NOTE: Your donations are not tax-deductible.

Buy my Word 2007 book

To buy my new book, Formatting Legal Documents With Microsoft Office Word 2007, click the "Buy Now - Lulu" button below. (You can preview selected portions of the book, including the entire Table of Contents, on the book's Lulu page.)


Support independent publishing: buy this book on Lulu.

You can buy the book on Amazon.com, too -- just click this link to the book's Amazon page -- although no preview is available there.

Recommended Sites - Word

Recommended Sites - WordPerfect

Recommended Sites -- Law-Related

Recommended Sites - Miscellaneous

Blogroll

Older Posts