### 35.4.1 Specifying when to delete old files from the project directory

To specify under which conditions certain old files should be deleted from the project directory before conversion:

[Automation]

WrapAndShip=Yes

; EmptyOutputDir = Never (default), Book (when running a full book),

; or File (for running a single-file project with no external links).

EmptyOutputDir = Never

Values of EmptyOutputDir have the following effects:

Never | Default. Mif2Go does not delete any files from the project directory before conversion.
Book | Mif2Go deletes files before conversion only if you are converting a FrameMaker book. Use this setting when you convert an entire book, or reconvert a single chapter of a book.
File | Mif2Go deletes the specified files before conversion only if you are converting a single FrameMaker file. This setting is hazardous; use it only for single-file projects with no external links.

To determine which files to delete before conversion, see:

§35.4.2 Specifying which files to delete from the project directory

§35.4.3 Understanding when not to delete .ref and .htm files.

Note: EmptyOutputDir takes effect not only when WrapAndShip=Yes, but also when one of the following is true for the output type specified:

HTML Help: [Automation]CompileHelp=Yes

WinHelp: [Automation]CompileHelp=Yes

JavaHelp: [JavaHelpOptions]FTSCommand=path/to/indexer

Oracle Help: [OracleHelpOptions]FTSCommand=path/to/indexer

See §35.10 Gathering and processing Help-system files.

| 35.4 Clearing out old files before converting |  | 35.4.2 Specifying which files to delete from the project directory |