Using code command with cursor

I used C:\Users\admin\AppData\Local\Programs\Microsoft VS Code\bin to remove the code command from vs code and then ran Shell Command: Install ‘code’ from cursor but still upon using code I go to vs code.

Deleted vs code bin file’s code command and then ran Shell Command: Install ‘code’ from cursor and it worked.

%localappdata%\Programs\cursor\resources\app\bin