---
title: "setSession"
canonical: "https://help.vicon.com/space/ShogunPost121/1253738274/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

> Macro (scroll-tablelayout)

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

## Return value

void