TMP, TEMP Description The directory to which Perforce clients and servers write temporary files. Usage Notes Used by Client? Used by Server? Command-Line Alternative Can be set in P4CONFIG file? Yes Yes None No Value if not Explicitly Set Operating System Value UNIX /tmp All Others On Perforce clients: the current working directory. On Perforce servers: P4ROOT Notes If TEMP is set, TEMP is used. Otherwise, if TMP is set, this is used. If neither TEMP nor TMP are set, temporary files will be written in the directories described in the table above.