Windows - fixing truncated paths with tildes ("~") in them

Windows - fixing truncated paths with tildes ("~") in them

If there are tilde characters in your file paths that means you have used a path that is just too long for Windows to handle or you have Long Paths disabled. Paths that are formatted in this way will cause our plugins to fail as they won't be able to properly expand them. Please do the following in order to get rid of this issue:

01. Enabling Long Paths in the Registry Editor:
- Run regedit.exe (C:\Windows\regedit.exe)
- Go to:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
- Open "LongPathsEnabled" entry (double click on it) and set its value to "1", like so:




02. Truncating paths that are too long by hand:

Existence of the tilde might not be caused only by the given setup regarding Long Paths feature. The path might just be too long for the system to handle. In such case you would have to also shorten it manually. Please note that under Windows some paths that are in fact too long to handle might be still correctly displayed in the FIle Explorer.

In general it is a good practice to keep your paths under 256 characters long (260 characters is the default limit under Windows 10). Please consult Microsoft's documentation to learn more:
https://docs.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry