Home | Tips | Library | Other Authors | Other WP Sites | Writer's Links | Contact | Site Map | Donate |
![]() Toolbox for WordPerfect |
||
Macros, tips, and
templates for Corel® WordPerfect® for Windows® |
Page updated Apr 1, 2013 | |
File Lister - Lists all specified file types found in a folder (and optionally, all sub-folders) in a new document window | ||
|
Purpose This WordPerfect 9 (and later version) macro finds all files of a given type (or all files) found in a specified directory/folder (optionally including subfolders), and then types a list of them into a separate document window. Usually, these are .WPD files, but you can specify other file types—.DOC, .WCM, .RTF, etc.—from a menu drop list, including <all> file types. See screen shot of macro's menu. Notes and Limitations You can modify the default values displayed on the macro's menu. You can change them in the redlined User Modification Area in the macro's code. The macro will not list files marked with the Hidden/System attributes. The macro can process up to 10,000 files of all types. To change this number you will need to modify the appropriate macro commands in the processing section of the code. Tip You can also print
a list of files using WordPerfect's File,
Open (or Save), then -- on the top menu of that dialog -- use File, Print File List. See a screen shot of this WordPerfect option. [Note that if the top menu in the dialog is not visible, you must have the Enhanced File Dialogs option enabled (i.e., turned On) with Tools, Settings, Files, "Use enhanced file dialogs." Then you can click on the small icon on the extreme right side of the dialog shown in the screen shot above to toggle the dialog's menu On (if it is Off).] |
|