# Parent

\<evalcmd> Parent && path && Parent of specified path. && path && path && File or folder path. && \[levels] && int && Number of levels up to go. \</evalcmd>

Returns the parent of the specified path (i.e. the input _path_ with the final component removed).

The optional _levels_ argument lets you go up more than one level.

//[Example://](example://)

```
Output(Parent("C:\one\two\file.jpg"));
--> C:\one\two
```

_See also:_\
[count](count)\
[fileext](fileext)\
[filepart](filepart)\
[isparent](isparent)\
[root](root)\
[stem](stem)
