LoginSignup
3
6

More than 3 years have passed since last update.

Windows の PATH の上限を引き上げる

Posted at

Windows の PATH の長さは通常 260 文字に制限されていますが、
Windows10 1607以降では、グループポリシーあるいはレジストリを変更することによって上限値を大幅に引き上げることが出来ます。
レジストリを変更する場合、
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystemLongPathsEnabled の値を 1 に変更することで適用出来ます。

管理者としてPowerShellを起動して以下のコマンドを実行します。

Set-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem\ -Name LongPathsEnabled -Type DWord -Value 1 -Confirm
3
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
6