SharePoint dev tip - easily go to the 12 Hive

Posted on 8/16/2008 @ 1:03 PM in #SharePoint by | Feedback | 4501 views

Just wanted to share a tip I find really useful. The idea being, I find myself going to the 12 hive quite often via command prompt.

Do this -

1. Set an environment variable called "12" on your system.

2. On command prompt, type cd %12%

Thats it :)

Sound off but keep it civil:

Older comments..

On 8/16/2008 3:32:32 PM brian said ..
Create a junction point in the filesystem (sysinternals junction.exe) and point c:\wss to the 12 hive.

On 8/16/2008 4:53:05 PM Sahil Malik said ..
Cool Thanks Brian! :)

On 8/18/2008 8:54:57 PM Tom Dietz said ..
Just create a file called 12.cmd and put it in your C:\Windows directory

in the file put:


cd c:\program files\...12...

then from anywhere, just type 12 and voila!

On 8/22/2008 4:11:32 AM MB said ..
I have two ways to do this on my dev machine - I have the 12 Folder on my Taskbar, bottom right, and can access any of the folders from there should I need to "explore" them and I have a batch file in my quick launch that opens 12\bin.