Developer Command Prompt issue

Hello,

When I pull up the Developer Command Prompt and type code i receive an error message

And when i got to Terminal - New Terminal in Visual Studio Code i receive an error message

Please let me know what to do to correct these

Thank you

Resolved issue. I moved the program to the file location. restarted the computer and it works

What do you mean by this?