Contents tagged with path

More Windows command line PATH goodness pathed.exe

Jun 11 2011No Comments by justin

Readers of this blog probably think I have an obsession with editing my system path. That belief is absolutely correct. I even added a tag on this blog for the articles about path manipulation. I am a command line junkie who is constantly trying out new tools so I have to add them to my path. I've written about doing this from powershell here and here, as well as doing it with setx. While these methods are good, I wanted something better. I got better with pathed.exe. pathed.exe is a program …

command line, path, System Administration Read more

Setx where have you been all my life?

May 08 2011No Comments by justin

For me, the reference implementation of mixed emotions is the combination of anger, relief, joy, and frustration when "Why isn't there a way to do X?!" becomes "How come no one ever told me about Y?!" This past Friday, I got to experience that entire bag of emotion thanks to setx.exe. Setx (technet - ss64) is a command line utility that sets environmental variables permanently on windows. This behavior is distinct from the set command (technet - ss64) which only affects the current cmd.exe …

command line, path, System Administration Read more

Cleaning up your path in PowerShell, and adding stuff to it.

Oct 02 2010No Comments by justin

A while back, I demonstrated some PowerShell one-liner-fu for path management. I also pointed out that my machine had duplicate entries in its path. Most people would not care about this at all. Most of the few people that do care would cleanup their path by hand. However, there are a mentally deranged few who realize the world needs a PowerShell script to clean up our paths for us. Luckily for you, I am that kind of crazy. However, I don't stop there. I also show you how to search the registry …

path, PowerShell, System Administration Read more

Two Powershell One-Liners: Appending to my %PATH% and Whats in my %PATH%

Sep 15 2010No Comments by justin

To say I've fallen in love with PowerShell is an understatement. PowerShell is what perl would be; if perl was object based instead of stream based, and lacked all the "culture" of perl. I use PowerShell for a lot of things lately. Recently, I've been using it to manage my path, thanks to this PowerShell tip of the week. This has inspired me to share two one-liners related to path management. The first allows you to add an item to your path. Few things annoy me more than windows programs that …

path, PowerShell, System Administration Read more