If the “How do you want to open this file” window keeps popping up in Windows 11/10, follow the suggestions laid down in this article. Before proceeding, ensure you have installed the latest version ...
You probably don't have one, you probably want to edit .bash_profile but I believe bash honors the .profile as well. Either way they go in the root of your home directory.
You cannot rename a User Profile folder in Windows 11/10 if one or more of the following conditions are true: You are not signed in as an administrator. You are signed in to the same user account, ...