Winsmarts.com

Microsoft MVP

MVP Logo

Awarded the Microsoft MVP Award.

Hosted By

blah!bLaH!BLOG!!

SharePoint dev tip - easily go to the 12 Hive

Posted on 8/16/2008 @ 1:03 PM in #Sharepoint | 4 comments | 3927 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 :)


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:
c:
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.

Please post your comments:


Your feedback will be submitted for moderation, and will appear after it is approved.

Name:  
Email (optional): Your email address will not be posted.
URL (optional):
Comments: HTML will be ignored, URLs will be converted to hyperlinks  
Enter the text you see in the box:
 

Site designed and maintained by Sahil Malik | All Rights Reserved. ©2007 WinSmarts.com.