ZDP - ZEBU's Directory Printer - Help


  1. Set the selection options
  2. Select the directory
  3. Choose the output options
  4. Compute the list
  5. Preview
  6. Export
  7. Definition of new output formats
  8. Open questions

1. Set the selection options

The following part of the main dialog of ZDP is used to set the selection options:

The available possibilities are listed below:

2. Select the directory

The following part of the main dialog of ZDP is used to choose the exported directory:

With the button, the standard dialog to select a directory is shown. After the selection the path and name will be shown.

3. Choose the output options

The following part of the main dialog of ZDP is used to choose the output options:

All available formats are listed in the combox. Under the combox there is a sample of the expected output format for a file, or a directory, respectively.
The button on the right hand side opens a dialog. This dialog can be used to define almost any own output format. More detailed information for this point are described in section 7. Additional possibilities are listed below:

4. Compute the list

After the steps 1 - 3, the list of all directories and files can be calculated.

After this, the different possibilities for export are available.

5. Preview

After calculating, the list is shown in the output preview window.

The entries of a directory are slightly indented in the preview. In case of complex lists, the preview may not show the complete output. If so, this fact is declared in the title. Furthermore, the tabs are sometimes not shown correctly, therefore the preview may look not well structured. This, of course, will not have any impact on the exported lists.

6. Export

The following part of the main dialog of ZDP is used to export:

The files can be displayed directly after the export. Select the checkbox on the right hand side of the export button to do this. In the example, HTML files are opened in the standard browser after been written to disk. Textfiles are just written to disk. The available possibilities are listed below:

7. Definition of new output formats

ZDP is offering a dialog to define own output formats. For a new output format, one can use all the information that is given by the operating system. For directories there are even more possibilities.
The easiest way to explain the definition of a new output format is, to show an example. Let's therefore assume, that the expected output should look like this:

Type Output Format Remark
File name.ext (4321 bytes) 02.02.2003, 19:31:58 The date should give the last modification
Directory name 123 files 54321 bytes The numbers should give the sum of files and their total size

The following example shows all steps to define the new output format with all the attributes in the correct order.
First of all, the name has to be given. Therefore, the checkboxes in front of the corresponding button have to be selected. The checkbox for the directories is on the left hand side, the checkbox for the files is on the right hand side. After doing this, the button will be activated:

After clicking the button, the selected checkboxes as well as the button itself will be disabled.

Like that, no attribute can be used at two positions of an output format. A sample output for files and directories is shown at the bottom of the dialog. There, one can check the the newly defined output format after every change. In the concrete case simply the name is displayed up to now.

It does not matter whether the next step is to continue with the file's or the directory's part of the output format. In the example we continue with the remaining attributes of the files. So, the next part will be the string '(1234 bytes)'. It is composed of a text '(', the file size, and another text ' bytes)'. First we therefore need an opening parenthesis.
At the end of the list with all attributes there are two buttons for textual inputs. In the corresponding text input field one has to type the parenthesis and to select the checkbox for files:

Both buttons are activated. Since we want to put our parenthesis in front of the next attribute, we have to use the upper of the two buttons. After clicking, the text input field is empty and both buttons are inactive, again. But in contrast to the first attribute (the name) both checkboxes still are available. This is the case because text can be used at any position in the output format:

Of course, the preview at the bottom of the dialog is showing the adapted output format. The opening parenthesis appears in the preview for the files:

Now folling is the size of the file. Again, the checkbox in front of the corresponding button has to be selected. Since we want to add the size of a file, the checkbox on the right hand side has to be used and the button has to be pressed.

Since the size of a file is used, the checkbox is inactive now, while the checkbox for the size of directories still is available:

The preview for the file output is adapted with the file size:

The next step is the closing text ' bytes)'. After typing the text, one has to select the checkbox for the file. Since this string still belongs to the part of the output format with the file size, this time the lower of the two buttons is used:

Again, the preview shows the result:

The last attribute for a file is the date of the last modification. Again, the corresponding checkbox has to be selected and the button is available.

In the preview, the sample output format for the file is now complete:

Let's come back to the directory now. We already have inserted the name. The next attribute is the number of files in the directory and all included sub-directories. Again, the corresponding checkbox is selected.

Analogous to texts for files, the string ' files' is typed into the text input field. This time the checkbox for directories (on the left) has to be selected, of course. The text should be added after the number of files, therefore with the lower of the two buttons.

Next step is the size of all files in the directory...

... and again a text after the attribute (with the lower button):

The new output format is defined. The preview now looks as follows.

The text in the upper field may give the impression of something cryptical. It contains the complete output format with all added attributes and texts for both, files and directories. It is used internally and has only one meaning for the user: It is shown in the combox of the main dialog (see section 3)

8. Open questions?

Maybe an email to the developer of ZDP will answer further questions.


Links: [back to the ZDP page] [back to the software overview]   [back to the main page]