Configuration parameter precedence
Tip
You can specify client settings such as port, user, and workspace names by using any of the following:
- On the command line, using options.
- In the configuration file(s) specified by a P4CONFIG environment variable, where each config file can be specific to a workspace.
- In the P4ENVIRO configuration file, which is for variables that remain constant for all the workspaces on a given computer.
- User environment variables.
- System environment variables (on Windows, system-wide environment variables are not necessarily the same as user environment variables)
- In the user registry or settings set by issuing
the
p4 setcommand. - In the system registry or system settings set by
issuing the
p4 set -scommand.
where
The output of p4 set lists:
-
the value of each variable
-
how each variable was set, that is, by
config,enviro,set, orset -s






