Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with file paths longer than 256 characters #288

Open
RoorMakurosu opened this issue Nov 2, 2022 · 1 comment
Open

Issues with file paths longer than 256 characters #288

RoorMakurosu opened this issue Nov 2, 2022 · 1 comment

Comments

@RoorMakurosu
Copy link

I get an error every time I want to merge mods which end up generating file paths longer than 256 characters.

Actually, the only way around it, for me, it has been to change the ZEdit Merges folder to something like "c:\Z" in order to limit to "path overhead" to a minimum (my usual path is something like "C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Tools\ZEdit\merges".

@lord-mogul
Copy link

That is a limitation with how Windows manages paths. For legacy reasons file names are still limited to 260 character path length (including the drive letter and a null character for termination)
You could go around that by using symlinks or a shorter path, like a folder directly in the drive root.

But another thing is that write access in certain system folders, including Program Files and Program Files (x86) requires admin privileges, which causes other issues with older software that writes it's config files in it's installation directory. (personnally I'm just using C:\Games\ and C:\Steam\ for my installs to get around that)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants