Installing "cursor" shell command overrides "code" as well

This helps. But everytime i open cursor it rewrites the files so i need to continuously delete the files.

I converged to instead of deleting the file, just edit the code.cmd from cursor to call the right code.cmd from vscode. E.g:

@echo off
call "Y:\software\Microsoft VS Code\bin\code.cmd" %*

seems to do the trick.