[p4] determining p4 settings

Jeff Grills jgrills at drivensnow.org
Fri Aug 17 11:24:54 PDT 2007

Would running 'p4 info' be sufficient to tell you what you need to know?
You'll be able to tell what setting values were used, but not necessarily
which settings file was used.  From your email it sounds like it'll do what
you need though.


-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Jay Glanville
Sent: Friday, August 17, 2007 10:01 AM
To: Perforce Users Mailing List
Subject: [p4] determining p4 settings

Hello all.

Does anyone know of a simple, absolute way of finding out which perforce
configuration setting is going to be used?

For example, lets say I have (on Windows) P4CONFIG set in my windows
registry, plus have P4CLIENT set in both my registry and my config file. Is
there a simple query that I can execute to show me which value will be used,
or do I need to manually apply the rules found here:

You see, if I run
  p4 set P4CLIENT
It's just going to tell me what's setup in my windows registry.  It's not
going to use my P4CONFIG setting.

It would be nice to know explicitly, if I ran a command here, which
configuration settings would be used.



Jay Dickon Glanville
Application Designer, Natural Convergence
jay.glanville at naturalconvergence.com
(613) 280-2000 x593

perforce-user mailing list  -  perforce-user at perforce.com

More information about the perforce-user mailing list