Perforce 2000.2 Command Reference (2000.2.cr.1)
<< Previous Chapter
p4 where
Table of Contents
Index
Perforce on the Web
Next Chapter >>
P4CLIENT

Environment and Registry Variables


Each operating system and shell has its own syntax for setting environment variables. The following table shows how the P4CLIENT environment variable is set in each OS and shell:

OS or Shell
Environment Variable Example

UNIX: ksh, sh, bash

export P4CLIENT=value

UNIX: csh

setenv P4CLIENT value

VMS

def/j P4CLIENT "value"

Mac MPW

set -e P4CLIENT value

Windows 95/98/NT/2000

p4 set P4CLIENT=value

(See the p4 set chapter of this manual for more details on setting Perforce's registry variables in Windows).

NT administrators running Perforce as a service can set variables for use by a specific service with p4 set -S svcname var=value.

Perforce's environment variables can be loosely grouped into the following four categories:


Perforce 2000.2 Command Reference (2000.2.cr.1)
<< Previous Chapter
p4 where
Table of Contents
Index
Perforce on the Web
Next Chapter >>
P4CLIENT
Please send comments and questions about this manual to [email protected].
Copyright 1997, 2000 Perforce Software. All rights reserved.
Last updated: 12/21/00