Quick start for P4 for Windows File Explorer

Before you begin

Ensure you have the following:

  • P4V installed on the same machine.

  • Access to a working version of P4 Server.

  • The server and port values for P4 Server.

  • The username for your P4 user.

  • A workspace containing files you can edit.

Install P4EXP

To install P4 for Windows File Explorer (P4EXP) , follow these steps:

  1. Download P4EXP from the Perforce website.

  2. Run the installer package.

  3. In the installer dialog window, enter the following P4 Server credentials:

    • Server - For example, perforce:1666

    • Username - Your P4 Server username.

  4. Click through the installer dialog window to complete the installation.

  5. Restart windows to complete the P4EXP integration.

Verify the P4 Server connection

P4EXP should automatically connect to P4 Server after installation.

To verify the connection.

  1. In Windows Explorer, right-click a file or folder managed by P4 Server.

  2. Click Show more options.

  3. Click P4.

  4. Check the connection status.

If P4EXP is connected to P4 Server, the status displays Connected.

Connect to P4 Server

If P4EXP is not connected to P4 Server:

  1. Right-click a file or folder managed by P4 Server.

  2. Click Show more options.

  3. Click P4.

  4. Click Manage Connection.

  5. In the Set connection window, configure the following:

    • Server - Enter your P4 Server address and port.

    • Username - Your P4 Server username.

    • Workspace - Enter the workspace you want to use. Click Browse to view the available workspaces.

  6. Click OK.

P4EXP displays file status icons when it successfully connects to P4 Server.

To learn more, see Connecting to P4 Server.

Check out a file

  1. Open Windows Explorer and browse a file in your workspace.

    For example, if your workspace is located in C:\workspaces\, navigate to that folder.

  2. Right-click the file.

  3. Click Show more options > P4.

  4. Select Check Out.

By default, the file is added to the default changelist.

A confirmation message is displayed when the file is checked out successfully. The file is opened for edit in P4 Server and becomes writable on your local machine.

Check file status

P4EXP displays file status using overlay icons in Windows Explorer.

For example:

  • Open for edit.

  • Added.

  • Deleted.

  • Synced.

  • Not in depot.

Hover over the file icon or view the context menu to see available actions.

Submit your changes

  1. Edit and save the file.

  2. Right-click the file.

  3. Click Show more options > P4.

  4. Select Submit.

  5. Enter a changelist description.

  6. Submit the changelist.

Next steps

Now that you have connected P4EXP to P4 Server, view the additional features in P4EXP menu options