---
jsApi: true
title: "[F] getNormalizedAbsolutePathWithoutRoot"

---
```ts
getNormalizedAbsolutePathWithoutRoot(fileName, currentDirectory): string
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `fileName` | `string` |
| `currentDirectory` | `undefined` \| `string` |

## Returns

`string`
