Command Line / Terminal / File Manager preferences
On Windows, the default command line application is Command Prompt. However, you can select a different one, such as the PowerShell utility.
On Linux, you can select both a terminal application and a file manager application. The terminal application can have a prefix argument.
When you right-click a folder in the Depot or Workspace tree and select Open Terminal Window Here option, P4V determines the Location of the terminal application, adds any Argument prefix options, followed by a space, and then includes the directory path that corresponds to the location where the user right-clicked to invoke the Open Terminal Window Here option.
For example,xterm -ls /directoryPath
konsole --workdir directoryPath
where, directoryPath refers to the path of the folder the user right-clicked on when selecting Open Terminal Window Here. P4V uses this path to open the terminal directly in that location.