## 3.1.2 Removing the MAX_PATH Limitation 

Windows historically has limited path lengths to 260 characters. This meant that paths longer than this would not resolve and errors would result. 

In the latest versions of Windows, this limitation can be expanded to approximately 32,000 characters. Your admin- istrator will need to activate the “Enable Win32 long paths” group policy, or set$_{LongPathsEnabled}$to$_{1}$in the registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem . 

This allows the open() function, the os module and most other path functionality to accept and return paths longer than 260 characters. 

After changing the above option, no further configuration is required. 

Changed in version 3.6: Support for long paths was enabled in Python. 

## 3.1.3 Installing Without UI 

All of the options available in the installer UI can also be specified from the command line, allowing scripted in- stallers to replicate an installation on many machines without user interaction. These options may also be set without suppressing the UI in order to change some of the defaults. 

To completely hide the installer UI and install Python silently, pass the /quiet option. To skip past the user interaction but still display progress and errors, pass the /passive option. The /uninstall option may be passed to immediately begin removing Python - no prompt will be displayed. 

All other options are passed as$_{name=value}$ , where the value is usually$_{0}$to disable a feature,$_{1}$to enable a feature, or a path. The full list of available options is shown below. 

