![]() |
Macros - Retrieving Filename When Saving DOS |
The information in this document applies to:
WordPerfect® 5.1 for DOS
Problem
Symptoms: The customer created a macro that saves files as DOS text files (Ctrl-F5, 1, 1) with the original filename. The commands that the customer inserted in the macro to get the filename are {SYSTEM}path~ and {SYSTEM}name~. The macro will enter the path for the filename, but it does not insert the actual filename. The customer then receives the error message "Invalid Filename." The work around that the customer uses is to press Shift-F10 when prompted for the document name. Is this a problem with the program? Solutions: Development stated this is a known problem with saving DOS text files. However, this situation has received a low priority status. The work around stated above is a good way to prevent problems with the macro. The customer may also have the macro save the path and filename into a variable before going into the save routine. Then, the variable can be retrieved or used when saving the file. |
Answer:
Details:
Product specifications, packaging, technical support and information (*Specifications*) refer to theUnited States retail English version only. Specifications for other versions may vary. All Specifications, claims, features, representations, and/or comparisons provided are correct to the best of our knowledge of the date of publication, but are subject to change without notice.OUR MAXIMUM AGGREGATE LIABILITY TO YOU AND THAT OF OUR DEALERS AND SUPPLIERS IS LIMITED. IT SHALL NOTEXCEED THE AMOUNT YOU PAID TO ACCESS THE INFORMATION. SEE LEGAL DISCLAIMER. |