Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

P4 CLI Documentation | 2025.2

# P4BROKEROPTIONS

Set P4 Broker options for a Windows service.

## Usage notes

Used by Client? | Used by Server? | Command-Line Alternative | Can be set in P4CONFIG file?
--- | --- | --- | ---
No | Yes | `p4broker %P4BROKEROPTIONS%` | N/A

## Value if not explicitly set

Operating System | Value
--- | ---
All | Null

## Notes

For example, if you normally run the Broker with the command:

`p4broker -c c:\p4broker\broker.conf`

you can set the `P4BROKEROPTIONS` variable for the Windows service to run with:

`p4 set -S "Broker" P4BROKEROPTIONS= "-c c:\p4broker\broker.conf"`

When you run P4 Broker under the `"Broker"` service, the Broker will configure itself using the specified `broker.conf` file. Use `P4BROKEROPTIONS` when you need to call `p4broker` with options for which there are no corresponding environment variables, or when you are doing so within the context of a Windows service.

See P4 Broker in the P4 Server Administration Documentation.

Your search for returned results