Skip to content

Quick way to change system variables windows

October 22, 2013

Typically we need to append to system path variables while setting up tools in our dev/test env, windows power shell can help you to do this quickly –

 

E.g below I am appending xmlbeans to system path.

[Environment]::SetEnvironmentVariable( “Path”, $env:Path+”;C:\Users\rsaini\Downloads\xmlbeans-2.6.0\xmlbeans-2.6.0\bin”, [System.EnvironmentVariableTarget]::Machine )

🙂

Advertisements

From → Uncategorized

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: