Windows 11: Path variable problem

I just recently installed Rust and tried to create my first program.
When I run it like this: from my projects directory, then in my project directory I run rustc .\main.exe
I get this error message:
error: multiple input file name provided (first two filenames are '' and '\main.exe')
I am unsure if my %path% variable for Rust is set correctly, when I checked my Environment variables I did not find an entry for Rust.
Any assistance would be appreciated.

I think I solved my problem, I forgot to compile the program.


This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.