After installing rust on my windows 7 computer, I decided to run a simple hello world program in vscode in a file named main.rc, but on putting the following code in terminal
rustc main.rc
in order to run main.rc, my terminal started giving the following messages:
'rustc' is not recognized as an internal or external command,
operable program or batch file.
I also put the following code in terminal
cargo init
and this time also my terminal gave the following message
'cargo' is not recognized as an internal or external command,
operable program or batch file.
Then I thought to put all installed rust folders in my C drive where my python folders were also present
But no change occurred. Then I thought to put rustc file path to environment variables, but still, all these efforts went in vain.


