Skip to content

Command-line Options and Switches

Paquet Builder supports command-line options to automate tasks such as managing project files and compiling packages. These options allow you to bypass the graphical interface for efficiency or integration into automation workflows.

A switch is a command-line parameter, often accompanied by a value, used to configure how Paquet Builder runs. Switches are specified with a forward slash /.

For example, /c is the switch that triggers compilation.

Launching Paquet Builder from the command line

Section titled “Launching Paquet Builder from the command line”

You can specify a project file when launching Paquet Builder:

PBUILDER.EXE "C:\Projects\MyProject.pbpx"

This opens the project file. Pressing the Compile button creates the package.

When a command-line switch is included, the splash screen is hidden and a taskbar window displays progress.

SwitchDescription
/cCompile the specified project or directive file.
/qExit Paquet Builder after compilation, regardless of success or failure (error messages are displayed).
/sNon-interactive mode: suppresses progress dialogs. Errors still prompt interaction. For true silent mode, use the console compiler.
/log:"path"Save the compilation log to an HTML file at the specified path.
/outfolder:"path"Override the output directory for the compiled package.
/outfname:"name"Specify a custom filename for the compiled package.
/exetype:NSet the target architecture: 0 = 32-bit, 1 = 64-bit, 2 = ARM64.
/arcfile:"path"Change the path of the external 7z archive file.
/filelistuptForce a live update of all file lists and components before compilation.

Compile the project silently and exit:

PBUILDER.EXE "C:\Projects\MyProject.pbpx" /c /q /s