|
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 Sep 2, 2009 | |
| 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. 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 File, Open, then -- on the top menu of that dialog -- use File, Print File List. Unlike the File Lister macro above, you cannot choose a particular file type by its filename extension, but this method might be useful to some people. [Note that if the menu in the Open File dialog is not visible, click on the small icon on the extreme ight side of the dialog.] |
|