P4ROOT

Description

Directory in which the Perforce service stores its versioned files and its database files.

Usage Notes

Used by Client? Used by Server? Command-Line Alternative Can be set in P4CONFIG file?

No

Yes

p4d -r directory

N/A

Value if not Explicitly Set

Operating System Value

All

p4d's directory.

Windows administrators running the Perforce back-end process as a service should use p4 set -S svcname P4ROOT=directory to set the value of P4ROOT for the named service.

Notes

Create this directory before starting the Perforce versioning service (p4d).

Only the account running p4d needs to have read/write permissions in this directory.

For more information on setting up a Perforce installation, see the Helix Versioning Engine Administrator Guide: Fundamentals and Helix Versioning Engine Administrator Guide: Multi-site Deployment.