Cleaning the Directories of All Build Products

The NMAKE CLEAN command cleans the directory structure of all build products with a single build type. If you run this command from the \BKOFFICE\SAMPLES\EXCHANGE directory, all the build products with the specified build type will be removed from all directories. This includes the compiled sample applications, individual sample applications that you have built, and the contents of all subdirectories created by the builds.

You can also run the NMAKE CLEAN command from an individual sample application's directory. If run from an individual directory such as \BKOFFICE\SAMPLES\EXCHANGE\SMBAGENT, subdirectories of the specified build type under this directory are removed. In other words, DEBUG and RETAIL copies are removed separately.

    To clean an individual sample applications's directories of all build products
  1. Change to the directory from which the sample application was built:

    \BKOFFICE\SAMPLES\EXCHANGE\<sample name>

  2. Type NMAKE [BLDTYPE=RETAIL] CLEAN.
    To clean the entire directory tree of all build products
  1. Change to the directory from which all the sample applications are built together:

    \BKOFFICE\SAMPLES\EXCHANGE

  2. Type NMAKE [BLDTYPE=RETAIL] CLEAN.