Microsoft KB Archive/83944

{|
 * width="100%"|

Word: Macro to Insert the Full Path and Filename of a Document

 * }

Q83944

-

The information in this article applies to:


 * Microsoft Word for MS-DOS, versions 4.0, 5.0, 5.5, 6.0

-

SUMMARY
You can insert the full path and filename of your current file into an open Microsoft Word for MS-DOS version 5.5 document with the following macro:

< >    < >< > < > To insert the full path and filename of your current file into an open Word version 4.0 or 5.0 document, use the following macro:

 ts< > < > Note: The opening chevron (<<) is created by pressing CTRL+[. The closing chevron (>>) is created by pressing CTRL+]. Single angle brackets should be typed as displayed.

MORE INFORMATION
The above macros insert the filename and path at the current cursor location in your Word document. The File_Name macro in the MACRO.GLY file that ships with Word 5.5 inserts the filename only.

Additional query words: 4.00 5.00 5.50 file name

Keywords : kbusage

Issue type :

Technology :