I have Visual Studio Code in portable mode on my pendrive.
I want to use the command code
in CMD and WSL (Ubuntu).
Error message in CMD:
'code' is not recognized as an internal or external command,
operable program or batch file.
Error message in WSL:
Command 'code' not found, but can be installed with:
sudo snap install code