[p4] P4 Set not working
steve at vance.com
Thu Nov 16 07:01:15 PST 2006
The problem here is that there are multiple ways to set the Perforce
environment and they have a precedence. In the precedence, true
environment variables override registry settings. These users probably
went into the Environment Variables section of their System control
panel to set the variable. They need to remove that variable definition,
restart any running shells and applications that care about the value
and they'll be fine.
If you enter just 'p4 set' it will show you all the variables and which
instance of them is currently in effect.
Jeff Desharnais wrote:
> We just set up a proxy server for one of our teams.
> We sent out an email instructing people to run the following command to
> update P4PORT to point to the proxy server:
> p4 set P4PORT=proxy1:1667
> On some machines this command goes through fine and updates the P4PORT
> On other machines, however, we get the following error message:
> Perforce client warning:
> Warning: environment variable hides registry definition of
> Has anyone experienced this and/or know a cause or solution to it?
> Jeff Desharnais
> IT Specialist
> Mad Doc Software
> 100 Burtt Rd., Suite 220
> Andover, MA 01810
> (978) 409-6272 Ext. 132
> perforce-user mailing list - perforce-user at perforce.com
More information about the perforce-user