Editing the system path and other environment variables within Windows requires administrative permissions. Here are the steps to edit them for our purposes:
- Log into an account with administrative permissions.
- Open Windows Explorer and right-click on the PC icon in the left pane.
- Select Properties from the context menu.
- Click on Advanced system settings.
- In the next menu, click on Environment Variables.
- Select Path from the system variables and click Edit (or double-click on the path value).
- Add the file path of the bin folder in the OSGeo4W folder (for example, C:\OSGeo4W\bin) to the path: