Skip to content

How to add owl2vcs to PATH

utapyngo edited this page Mar 29, 2013 · 3 revisions

Windows

Using the GUI

  1. Press Win+Pause. This will open the System window.
  2. Click Advanced system settings. This will open the System Properties dialog.
  3. Click on the Advanced tab.
  4. Press the Environment Variables... button. This will open the Environment Variables dialog.
  5. In this dialog under User variables locate the PATH variable and double-click on it.
  • If it is not there, click on the New... button and type PATH into the Variable name field.
  1. Edit the the Variable value field by adding the owl2vcs directory name to the end of it separating the directory name with a semicolon.

Using the CLI

  1. Open powershell and cd into the unzipped folder.
  • If you have this folder open in explorer, the easiest way to do this is typing powershell into the location bar at the very top of the open folder and pressing Enter.
  1. Copy this code and paste it to powershell (using the right mouse button):

[System.Environment]::SetEnvironmentVariable('PATH', [System.Environment]::GetEnvironmentVariable('PATH', 'user') + ';' + (Get-Location), 'user')

Note this change will not take effect until you restart the command prompt.

Clone this wiki locally