LogSpec

A new facility in XTree Gold 3, introduced to cope with the proliferation of files with the advent of very large hard disks and of CD-ROMs. When XTree logs a disk the directory entry for each directory and each disk is stored in RAM, each entry consuming 32 bytes. Consequently XTree cannot function properly with more than about 9000 files logged, depending on your memory configuration. The capacities of hard disks and CD-ROMs have far outstripped these limits.

LogSpec copes with this by allowing you to limit the files logged to those selected in FileSpec. Invoked by F, FileSpec normally operates by selecting from all the logged files only those conforming to a selected specification (filename, including wildcards, and/or dates) and displaying only these files. But when LogSpec is active and a FileSpec is set up before logging, then only files conforming to the spec are logged. LogSpec can be activated only from the command line, by including the switch /ZL.

A FileSpec can also be set on the command line. For instance, if you wish when starting XTree to log only executable program files on drives C and D, your command line might be
     C:\XTGOLD\XTGOLD   C:   D:   *.EXE   *.COM   *.BAT   /ZL
Note that /ZL must come after the filespec, else all files will be logged. After starting XTree, the Filespec can of course be changed to log other files; to change the FileSpec to *.* to cover all files, simply key F followed by Return.

Tom Ruben

up to XTree tips index