Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
TreeSize
Light Logo Dark Logo
TreeSize
  • Overview
  • Installation
  • Quickstart
  • Using TreeSize
    • Ribbon Bar
      • Application Menu
      • Quick Access Toolbar
      • Home tab
      • Scan tab
      • Tools menu
      • View menu
      • Help tab
    • Scan Targets
    • Selecting a scan target
    • Directory Tree
    • TreeSize Views
      • Charts
      • Details
      • Extensions
      • Users
      • Age of files
      • Top Files
      • History
    • Drive list
    • Snapshots
    • Disk Usage Comparison
    • Scanning SharePoint
      • Azure AD Configuration
        • Certificate based authentication
        • User based authentication
    • Options
      • Display
      • Directory Tree
      • File groups
      • Age of files
      • Charts
      • Top files
      • General scan options
      • Scan filters
      • Printer
      • PDF
      • Excel
      • HTML
      • CSV
      • XML
      • SQLite
      • Text
      • Email
      • Application start
      • Context menu
  • Using File Search
    • File Search Ribbon Bar
    • Search paths
    • Basic search
      • Search syntax
    • Duplicate file search
      • How does the duplicate search work?
      • How does the deduplication work?
    • Advanced search
      • How do I define search filters?
      • What types of filters are available?
    • File search templates
    • How to exclude files
    • Process search results
    • Move checked files
      • Unicode ZIP files
    • Mass renaming files
    • Search options
      • General options
      • Personalize
      • Other
  • Using Scheduled Tasks
    • Scheduling scans
      • Options
      • Export
      • File operations
      • Advances
      • Command line
      • Scheduling
      • All Tasks
    • Command line options
    • How to schedule a file search
    • How to schedule a move or delete operation
  • Tips & Annotations
    • Notes on NTFS
    • Wasted space
    • Regular expressions
    • Translations
  • Copyright & Contact
Back to top

How to schedule a file search¶

Like the main module, the TreeSize File Search can also be scheduled as a task, that runs at certain times.

The general approach to create such a task is to set up a search in the user interface and then selecting “Tools > Schedule current search” from the ribbon menu.

The following description shows an example configuration and demonstrates the different steps that are necessary to create your own, customized search task.

Step 1: Set up a search via user interface¶

The file search offers a vast variety of different options that can be customized to your specific use case. The first step in creating a task is to set up either one of the predefined search types, or to create a new custom search. Any combination of options, including the selection of multiple different searches, is possible.

Step 2: Execute the search and check the results¶

Once you have set up the search, it is best to execute it and validate that it returns the desired results. The more specific a search is, the more likely it is that you need to do a bit of tweaking to ensure that only the results are returned that match your given use case.

Step 3: Create a task with the current search settings¶

The final step is to open the dialog for Scheduling scans, using the option “Tools > Schedule current search” from the ribbon menu. At this point, TreeSize will automatically take your current search parameters and create an option file that represents the search that was just set up. Under “Options”, you can see that the file was automatically included to the task.

Note

Any previous selection that was made in the Move checked files dialog, such as the creation of a log file, or the different “Move options” will be added to the options file as well. If you add any type of file operation to the task, it will use these settings as well.

After setting up the task with the desired schedule options and defining export or move operations, you can review the command line parameters under “Command Line”. Here, you can also test the current task, copy its parameters to the clipboard, or create a batch file.

Once everything is set up, click “Save Task” and enter your credentials, to create a new task and add it to Windows’ task library.

Next
How to schedule a move or delete operation
Previous
Command line options
Copyright © 1995 - 2025 Joachim Marder e.K.
Made with Sphinx and @pradyunsg's Furo
On this page
  • How to schedule a file search
    • Step 1: Set up a search via user interface
    • Step 2: Execute the search and check the results
    • Step 3: Create a task with the current search settings