Setting the PATH Environment Variable
Operating systems use the environment variable called PATH to determine where executable files are stored on your system. You can use the PATH environment variable to store the file path to your signing tools to ensure that the command-line interface (CLI) can reference these signing tools.
To set the path to your signing tools via the command
line:
set PATH=%path%;<path_to_signing_tool_folder>Command Sample:
set PATH=%path%;C:\Program Files (x86)\Windows Kits\10\bin\<version>\x64\To set the path to your signing tools for your system or account:
- Search for "environment variables" in the Windows start menu.
- Select "Edit environment variables for your account" or "Edit system environment variables."
- In the "Environment Variables" window, locate the "Path" variable under "System Variables" or "User Variables."
- Double-click on the "Path" variable.
- Click New.
- Select Browse.
- Navigate to the path where the signing tool is located. For example: C:\Program Files (x86)\Windows Kits\10\bin\<version>\x64\
- Click OK to save the path.
- Click OK again to close the "Environment Variables" dialog.