Perforce Public Knowledge Base - Environmental Variable Hides Registry Definition of P4Client
Reset Search
 

 

Article

Environmental Variable Hides Registry Definition of P4Client

« Go Back

Information

 
Problem

When the P4CLIENT registry variable is set using the Windows "set" command instead of p4 set P4CLIENT, the Windows registry variable masks the Perforce set registry value.

Example:

 

C:\bruno_ws>p4 set p4client=c:/bruno_ws
 Perforce client warning:
    Warning: environment variable hides registry definition of p4client.

Solution
  1. Unset the Windows P4CLIENT registry variable:
    set P4CLIENT=
  2. Set the Perforce P4CLIENT value using p4 set:
    p4 set P4CLIENT=<client name>
Related Links

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255