Main Content

Automate Shutdown Tasks

In a project, shutdown files help you clean up the environment for the current project when you close it. Shutdown files should undo the settings applied in startup files.

Configure an existing file to run when you close your project.

  1. Right-click the file and select Run at Shutdown.

    The Status column displays an icon and tooltip indicating the file will run at shutdown.


Shutdown files are included when you commit modified files to source control. Any shutdown files you set run for all other project users.

To stop a file running at shutdown, change it back by right-clicking it and selecting Remove from Shutdown.

Related Examples

More About