# P4V program files

P4Vcreates settings files, and (if you enable logging), a log file on your computer. These files are stored in the following locations under your home directory:

- Macintosh: `/Library/Preferences/com.perforce.p4v`
- Windows/Linux/Unix: `.p4qt` (under the user's Documents and Settings folder)

## Settings files

000x.ws: contain connection information for each workspace, and expressions or filters that have been used to search within P4V.

000x.ws.ui: contain settings such as window size and position, status information and directory state.

settings: stores global information about P4V, plus an index of the 000x.ws files stored on this machine.

## Log file

log.txt: If you enable P4V logging, this file contains all information displayed in the Log pane (regardless of whether the Log pane is displayed).

## Configuring help file location (Linux/Unix only)

By default, the P4V help files are installed in a directory called `P4VResources`, located in the directory where P4V is installed. Before starting P4V, you must set the P4VDIR environment variable to point to the directory containing the `P4VResources` directory, or set the P4VRES variable to point to the `P4VResources` directory. If the P4V executable and `P4VResources` directory are both installed under `usr/local/bin`, the following examples show you how to set P4VRES and P4VDIR:

`% setenv P4VRES /usr/local/bin/P4VResources`

or

`% setenv P4VDIR /usr/local/bin`

If you move the help files to another directory, P4V cannot find them automatically and prompts you to browse to them.