my Batch looks like this
@Start "VisualStudioCode" "C:\Program Files\Microsoft VS Code\Code.exe" %*
in the command windows i got every hour a message:
[main 12:14:41] update#setState idle
[main 13:14:39] update#setState checking for updates
[main 13:14:40] update#setState idle
[main 14:14:39] update#setState checking for updates
[main 14:14:43] update#setState idle
[main 15:14:39] update#setState checking for updates
[main 15:14:41] update#setState idle
[main 16:14:39] update#setState checking for updates
[main 16:14:40] update#setState idle
[main 17:14:39] update#setState checking for updates
[main 17:14:41] update#setState idle
how can i supress these messages?
Try running "C:\Program Files\Microsoft VS Code\bin\Code.cmd" instead, as this is the CLI version. Code.exe is the electron app that should not be in the path.
i ended here:
The solution for me was to remove:
from my path and add:
Now when I type'code' it launches code.cmd, not code.exe. (My paths are for the per-user version. Adjust for system-wide version as necessary)