Changing Perforce file types

Perforce file types determine how a file is stored in the depot and synced (retrieved) to the workspace, and whether it can be diffed.

To change a file’s Perforce file type (or other storage attributes):

  1. Context-click the file and choose Manage Files > Change Filetype…​.

    The Change Filetype dialog is displayed.

  2. Set the desired type and attributes and click OK to dismiss the dialog.

    If the file was not checked out, P4VS checks it out and makes the change.

  3. Submit the changelist containing the file.

For details about file types and attributes, see the P4 Command Reference.