In Exchange 2007 / 2010 and 2013 you can easily navigate to these paths:
$exbin has the path to the Bin directory of exchange.
$exinstall has the exchange install path
$exscripts has the exchange scripts folder path, which we commonly use.
Now it’s easy to navigate to any of the above paths. For example, type in cd $exscripts to put the shell prompt into your scripts folder.