# Long file path support

## What are long filepaths, and why do I need them?&#x20;

{% hint style="info" %}
This should be a standard setting in every operating system. Unfortunately, Windows doesn't care.
{% endhint %}

In the year of our lord 2025, Windows does not (by default) support file paths longer than 256 characters — and if you're somebody who likes to use subfolders, this **will** break Wolvenkit's mod packing.

We decided to show you a warning at every startup, because

* the fix is super easy
* we can't solve the problem in Wolvenkit
* if you run into this, you'll be unable to create mods

## How to enable long filepath support?

### Windows

{% hint style="success" %}
If you don't trust something you read on a random modding wiki, find the full guide at [microsoft.com](https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry#enable-long-paths-in-windows-10-version-1607-and-later).&#x20;
{% endhint %}

1. Open the registry editor as administrator\
   \&#xNAN;*(Keyboard shortcuts: `Windows+R`, type `regedit`, press`Ctrl+Shift+Enter)`*
2. In the search bar at the top, enter the following:\
   `HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem`
3. In the window on the right, find `LongPathsEnabled`
4. Double-click on it and set the numeric value to 1
5. Reboot<br>

<details>

<summary>Outdated guide (may not work)</summary>

1. Open a Powershell window as administrator \
   \&#xNAN;*(Keyboard shortcuts: `Windows+R`, type `powershell`, press`Ctrl+Shift+Enter`)*\
   \
   Correct Powershell (shows Administrator in the title bar):\
   ![](/files/iVFoL2GE2t0jNMmoT0R4)\
   \
   Incorrect Powershell (doesn't show Administrator in the title bar ⇒ runs as user):\
   ![](/files/3MXX7hlR6WfDiuefZ2kT)
2. Paste the following command:

```powershell
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" `
-Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
```

3. Press `Enter`

</details>

That's it! You now have long path support enabled.

### Linux

This feature is supported out-of-the-box. Just try to stay under 4000 characters.


---

# 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://wiki.redmodding.org/wolvenkit/help/faq/long-file-path-support.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.
