---
title: "getScriptPaths"
canonical: "https://help.vicon.com/space/Shogun112/31231681/getScriptPaths"
format: markdown
---
# Description

Get the list of directories searched by Shogun Post to generate the internal list of scripts and pipelines.

This list can also be viewed at the top of the **Directories** tab in the **Preferences** dialog.

## Functional area

System

# Command syntax

## Syntax

|  |
| --- |
| `getScriptPaths` |

### Arguments

None

### Flags

None

## Return value

String array

## Examples

```plaintext
 string $paths[] = `getScriptPaths`;
```

# Additional information

## Related commands

- [addScriptPath](https://vicon-help.atlassian.net/wiki/spaces/Shogun112/pages/31232738)
- [clearScriptPaths](https://vicon-help.atlassian.net/wiki/spaces/Shogun112/pages/31236000)
- [deleteScriptPath](https://vicon-help.atlassian.net/wiki/spaces/Shogun112/pages/31234382)