Look for the directory that contains the executable “gfortran.exe” and fill in that name in the command. I do not think “c:\users\pader\gcc” is the one you need, but I am not sure whether you need to add “bin” at the end or 'x86_64_W64-mingw32".
I certainly could have tried the statements, and I do respect you for saying so, but yesterday I crashed my system trying to get the compiler to run, and Microsoft repairing it, was busy a few hours, before it was running again.
I am grateful for your reply.
Supposing the path string is wrong. How do I get rid of it again later?
Using the “set” command to modify the “PATH” environment variable makes only temporary changes that are effective only for the current session of the command prompt. Once you close the command prompt window or restart your computer, the changes will be lost.
“To be a programmer you must understand the basics of how your operating system works.” How well are you informed about how the engine of your car really works? I am no friend of Microsoft. Even the concept of “Windows” they borrowed from Xerox.
@Patrick , you will find in this community fans of Windows, Linux, macOS, FreeBSD and other systems. Although Fortran was born before all of them, it needs them to work. All these operating systems share some common concepts that must be learned to program in Fortran or whatever other language. There is a book about the history of Fortran subtitled “Abstracting away the machine”, but that is only an ideal that is never really achieved.