.change_dir and .create_path Macros

These macros change the current directory or create the specified path as part of a generation command.

.change_dir (path)
.create_path (path)

The following parameters are available:

Parameter

Description

path

Specifies the directory to go to or to create.

Type: Simple template (escape sequences ignored)

Example Result
.change_dir(C:\temp)
Changes the path to write to to C:\temp.
.create_path(C:\temp\mydir)
Creates the new directory C:\temp\mydir.

For information about generation commands, see Generation Category.