## Using Leavescan

LeaveScan preferences can be defined in Carbide.c++ by selecting Windows > Preferences... and expanding the Carbide Extensions group and selecting Leavescan preferences. Specify the path to the leavescan command to avoid calling the leavescan stub.

LeaveScan can also be run from the command line to scan whole directories and output to a file. You can use the for command to scan directories. For example, for /R %i in (*.cpp) do leavescan %i >> leavescan.out. This will scan all cpp files in or below the current directory and places the result in leavescan.out.