Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 10 lines (7 sloc) 0.238 kb
1 2 3 4 5 6 7 8 9
$local:command_usage =
"usage: append-path path-to-be-added
"

if ($args.length -lt 1) { return ($command_usage) }

$local:oldPath = get-content Env:\Path
$local:newPath = $local:oldPath + ";" + $args
set-content Env:\Path $local:newPath
Something went wrong with that request. Please try again.