- Press
Win + R
to open the Run dialog. - Type
sysdm.cpl
and press Enter to open the System Properties window. - Go to the "Advanced" tab and click on the "Environment Variables" button.
- In the "System variables" section, select the "Path" variable and click on "Edit".
-
Add the path to the directory containing the script (e.g., the directory where "emb.cmd" is located).
-
Click "OK" to save the changes.
After adding the directory to the PATH variable, you should be able to run the script by simply typing "emb" in the Command Prompt without specifying the full path to the script file.