---
title: "setSession"
canonical: "https://help.vicon.com/space/Shogun114/196381567/setSession"
format: markdown
---
# Description

Sets the active session to the given session path.

Replaces the `–sessionFolder` option of the deprecated captureOptions command.

## Functional area

Data management

# Command syntax

## Syntax

|  |
| --- |
| `setSession ["sessionPath"]` |

## Return value

void