.. _scan-tab:

Scan tab
***********

The ribbon tab Scan contains all actions and elements related to the current scan.

.. image:: /images/TreeSize-MainWindow_RibbonTab_Scan.png
   :width: 100%
   :align: center

Actions explained
====================

Stop
~~~~~~~

Stops the currently selected scan. When a scan is stopped, TreeSize will abort the current scan process but not remove it from the Directory Tree.

Pause/Resume
~~~~~~~~~~~~~~

Pauses or resumes the currently selected scan. A paused scan can be resumed without scanning the already processed directories again.

Refresh
~~~~~~~~~~~~~~

Refreshes the currently selected scan. The Refresh button also offers a drop-down menu providing access to more specific options:

- Refresh all scans: Using this option will trigger a full refresh for all scans of TreeSize.
- Refresh selected folder: With this option, you can refresh the currently selected folder only.
- Watch for file system changes: If you enable this option, TreeSize will keep track of the Windows change notifications and update the size information as well as several other information automatically. If you don't want the size information to change after the scan has finished, you should turn off "Automatic Updates". This option can be enabled or disabled for individual scans.

Remove scan
~~~~~~~~~~~~~~

Removes the currently selected scan from the TreeSize window.

Expand
~~~~~~~

Using the "Expand" button, you can expand or collapse the Directory Tree to a certain directory level. You can also use this menu to trigger a "Full expand" so that you will see any folder that is available in the current scan. You can also use this menu to show only folders exceeding a certain size value.

Find
~~~~~~~

Searches for a certain folder in the Directory Tree.

Export
~~~~~~~

Export the Directory Tree, chart or list content to a file. See chapter Export submenu.

Exclude
~~~~~~~~~~~~~~

Allows to exclude selected files/folders from the scan. Elements can be excluded temporarily for the current scan only, or permanently.

Compare with saved scan
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Loads a saved scan from an index file and compares it with the current scan. The differences in size will be displayed as positive and negative values in the user interface.

Compare with snapshot
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Selects a Snapshot of a scanned drive to compare it with the current data. The differences in size will be displayed as positive and negative values in the user interface.

Compare with path
~~~~~~~~~~~~~~~~~~~~~

In rare cases it can be useful to compare the current scan with another path, e.g. in case that the other path is a copy or a backup of the currently displayed path. After choosing the other path using a directory picker dialog, the differences in size will be displayed as positive and negative values in the user interface.

Show size changes
~~~~~~~~~~~~~~~~~~~~~

Show size changes instead of current values in the Directory Tree. This view option can be toggled if the current scan was compared with an index file or snapshot.

Schedule this scan
~~~~~~~~~~~~~~~~~~~~~

Creates a scheduled Windows task for the currently active scan.

.. note:: 
    This is supported in the Professional edition only.