# What is the maximum path and file name length?

KONNEKT has to respect the path and file name length limits of both worlds:

* **SharePoint Online** \
  and
* **Windows**.

The maximum length of a filename including path is **260 characters** in total.

It consists of path and file name:

* **path** is: `\\onedrive-<yourTenant>\<site>\<library>\<foldernames>\`\
  It is limited to 248 characters.
* **file name** is: `<name>.<extension>`\
  12 characters are always preserved for the file name (8.3). Path and file name together must not exceed the limit of 260 characters in total.

These limits are mainly caused by Windows OS and File Explorer restrictions. Details can be found [here](https://docs.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=cmd).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.konnekt.io/troubleshooting/what-is-the-maximum-path-and-file-name-length.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
