Enable case sensitivity on NTFS formatted disks

 NTFS case sensitivity can be enabled on a per-directory basis, and this setting is inherited by newly created sub-directories within that directory.

To enable case sensitivity for a directory and its future sub-directories:

Open an elevated Command Prompt or PowerShell:

Right-click the Start button and select "Windows Terminal (Admin)", "Command Prompt (Admin)", or "Windows PowerShell (Admin)".

Execute the fsutil command:

Use the following command, replacing <path> with the full path to the directory you want to make case-sensitive:

Code

fsutil.exe file setCaseSensitiveInfo <path> enable

For example, to enable case sensitivity for a directory named C:\Projects\MyProject:

Code

fsutil.exe file setCaseSensitiveInfo C:\Projects\MyProject enable

No comments:

Post a Comment