The big picture is that I need to migrate a 50,000-line Fortran code package from WinXP to Win10. The fatal flaw in trying to execute to old code seems to be a change in the API for mouse clicks. Full description of code:
The IMMEDIATE problem is that I have to learn to use Intel Fortran in the Win10 environment. So far, I can't even compile the simplest program from a command line, because I can't get write access for the .obj file. The folder C:\temp has the Read-only attribute set, and I can turn tat attribute off. However, whenever I try to compile, it gets turned on aqain.
Don't do builds in the Temp folder. Windows and/or antimalware tools blocks things like that. Create a writable folder under your Desktop or in a folder that isn't under Program Files or Windows.
Your current working directory is the top level directory for the Intel Software tools (including the compiler).
By default, the compiler creates its object files in the current working directory, and no, you don't have "write" access to that directory.
Either create yourself a work area, as Steve suggested above, or set your current working directory to the Temp directory where you were able to create your source file.