PFTrack Documentation Project Manager  

Command Line Tools

Creating new projects  |  Loading existing projects  |  Saving, closing and exiting

Please note: command-line control of PFTrack is only available to Enterprise customers.

In addition to creating and opening projects using the Project Manager, these operations can also be performed very easily using command line arguments.

A full list of command line arguments can be found by running PFTrack from the terminal with the "-help" command, i.e.:

 -help

Note that the full path to the binary needs to be used and enclosed in double quotes since it includes spaces

Full details on all the command line arguments are available on the Command Line Usage page. The commands directly related to the creation and opening of projects are reproduced here for convenience:

Project:
-create_project /path/to/project/projectName
-load_project /path/to/project/projectName
-save_project
-close_project

Miscellaneous:
-exit

Creating new projects

The -create_project command creates a new project at the named location. For example:

 -create_project C:\Projects\myProject/Volumes/Store/Project/myProject/Volumes/Store/Project/myProject

will create a project folder called myProject stored on disk at C:\Projects\/Volumes/Store/Project//Volumes/Store/Project/

Loading existing projects

The -load_project command will load an existing project from disk (Note that this command requires the name of the project directory to be given as the argument):

 -load_project C:\Projects\myProject/Volumes/Store/Project/myProject/Volumes/Store/Project/myProject

Saving, closing and exiting

If project parameters have been updated, the -save_project command can be used to ensure the project is saved. The -close_project command can also be used to close the active project and return to the Project Manager.

Finally, if the -exit command is present at the end of the command line arguments, PFTrack will quit after executing all other commands. If the -exit command is not present, PFTrack will continue to run in GUI mode, allowing further interaction with the project.