On windows-
1. Locate where the local applications' resources are stored. Typically they will be in
C:\Users\<your-user-name>\AppData\Local\Programs\
folder
2. You should see two identical files code.cmd and cursor.cmd.
3. You should delete code.cmd and a file named code
4. Now try both commands- code .
should open VS code whereas cursor .
should open the cursor AI editor.