How to set P4CONFIG
http://www.effecthub.com/topic/345
P4CONFIG contains a file name without a path. The file(s) it points to are used to store other Perforce environment variables. The variable settings in the file must sit alone on each line and be in the form variable=value.
A sample P4CONFIG file might contain the following lines:
P4CLIENT=abc_client
P4USER=abc
P4PORT=ssl:ida:1750
To config P4CONFIG, you can do:
1. Add the Perforce environment variables into a file,.
2. Create a system environment variable with the name: P4CONFIG and the value: the file name of step1.