File=>Close (Save Compact)

Closes the active file and its window and saves the file in a compact form.

If you have deleted datasets or pages, the elements are marked as deleted in the document. The space in the file will not be reused. If the File=>Save command is used, the file will not be shrink.

In contrast, the command File=>Close (Save Compact) will write the complete file to disk without the removed elements.

Optionally, the original file can be saved as a backup file with the extension .bak. To enable backup files, copy and execute the following command in the UniScript command window:

WriteProfileInt("settings", "backup-ipw", 1)

By default, backup files are not created.

IPZ files are always compacted when closed. Because the packing is executed in a separate process, one can continue working without waiting for the compacting to be finished.

If a large IPZ file with a high number of datasets is saved on a slow (remote) drive, the compacting process can take some minutes. During this time the file cannot be accessed.

The compacting process can be permanently disabled with the following command:

WriteProfileInt("Settings", "ipz-pack-on-close", 0)

Copy the command into the UniPlot command window.

The following command enables compacting:

WriteProfileInt(“Settings”, “ipz-pack-on-close”, 1)

The command File=>Close (Save Compact) always save the file compact.

id-848812