<div dir="ltr">I imagine a few things could be happening here. One way to test if the "system" environment variable is set correctly is to use cmd to run <span style="font-family:monospace">echo %GISBASE%</span> and see where the default path is pointing to. If it is pointing to the correct path then likely the variable is being overwritten by the QGIS bootstrapping configuration. Have a look in the <span style="font-family:monospace">C:\OSGeo4W\bin\qgis-bin.env</span> or <span style="font-family:monospace">C:\OSGeo4W\bin\qgis-dev-bin.env</span> files to see if the references are correct. Otherwise maybe try a new user profile.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 7 Sept 2021 at 19:15, Rick Rupp <<a href="mailto:palousegeo@outlook.com">palousegeo@outlook.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-US" style="overflow-wrap: break-word;">
<div class="gmail-m_-5024238448671005801WordSection1">
<p class="MsoNormal">I am using QGIS 3.20 on Windows 10. I installed QGIS using the new version of OSGeo4W. My installation is in a \OSGeo4W folder. When I try to execute a GRASS function, I get an error saying the program couldn’t find the function, but it
 is looking for it in a \OSGeo4W64 folder(default for the old version of OSGeo4W). I checked my Windows environment variables, and the GISBASE variable was pointing to the old location. I corrected this, rebooted, but QGIS still reports the old location on
 the System Options dialog. All the other OSGeo4W paths are correct. Is there another location from where the GISBASE variable is read?</p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">My work around is to just use GRASS for the needed functions, as the standalone program runs fine. Any suggestions are appreciated.</p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Regards, Rick</p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>

_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div>