SetCaseSensitiveInfo

I use a 256 GB micro SD card as my main storage of schoolwork files. Today when I try to execute make at D:\...\p4, it fails because there are supposed to be two files with names Sym.java and sym.java. Windows file system by default is not case sensitive, so ‘make’-generated sym.java overwrites the original Sym.java, hence the problem.

I did some searching and found that you can enable case-sensitive for a folder with WSL installed. Just run the following script in powershell/cmd (admin mode):

fsutil file SetCaseSensitiveInfo <your-folder-name> enable

However, I cannot do it on my SD card, as it will always show Access Denied. Therefore I have no choice but to move my p4 to somewhere in drive C:.

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.