Forum Discussion
Altera_Forum
Honored Contributor
15 years agowhen you open up Quartus GUI on Windows, it sets the QUARTUS_ROOTDIR environment variable to that version. QUARTUS_ROOTDIR is used in the PATH environment variable, which is how the command line finds your executable applications
so to change the version of Quartus used by your script, set the QUARTUS_ROOTDIR to the appropriate location between each quartus_sh command