Windowsのエクスプローラで.htaccessを作るには「.htaccess.」と入力すればいいらしい
Windowsのエクスプローラで.htaccessを新規作成するには「.htaccess.」と入力すればいいらしい
https://editorconfig.org/#file-location
> For Windows Users: To create an .editorconfig file within Windows Explorer, you need to create a file named .editorconfig. (note the trailing dot), which Windows Explorer will automatically rename to .editorconfig for you.
確かにエクスプローラだと効いたし名前変更もこれでできた
けどメモ帳の名前をつけて保存だと使えなかった(.htaccess..txtになった)ので時と場所によって「.htaccess.」と「".htaccess"」を使い分ける必要がありそう