How many times a day do you find yourself typing C:\Program Files\Common Files\Microsoft Shared \Web Server Extensions\<whatever>?
Save yourself some trouble – define an environment variable called SPROOT that point to the folder then you can use it everywhere. Here’s how to do it:
- Open a command prompt.
- Enter the command:
setx SPROOT "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\
Hit return, close the command prompt and your done. (Note: The lack of closing quotation marks is intentional)
You can now navigate to the SharePoint hive by simply typing %SPROOT%. From the search box in the start menu it’ll show you the contents of the folder for easy access.
Another 2 seconds saved!