---
title: "removeSkinPath"
canonical: "https://help.vicon.com/space/ShogunPost121/1253738455/removeSkinPath"
format: markdown
---
# Description

Removes the specified custom skins directory from the list of "skin directories" that is searched when Shogun builds its internal list. The directories are removed from the display in the Preferences dialog box, on the Skins tab of the Directories tab.

## Functional area

Parameters

# Command syntax

## Syntax

> Macro (scroll-tablelayout)

|  |
| --- |
| `removeSkinPath skins path` |

### Arguments

> Macro (scroll-tablelayout)

| Name | Type | Required | Comments |
| --- | --- | --- | --- |
| `skins path` | string | yes | Path to remove from search paths. File and directory paths must use forward slashes instead of back-slashes. |

### Flags

None

## Return value

void

## Examples

```plaintext
// Remove a custom skins directory
removeSkinPath "C:/My Documents/Shogun/MySkins/"; 
```

> Macro (scroll-pagebreak)

# Additional information

## Related commands

- [addSkinPath](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253737051)
- [getSkinPaths](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253737260)