14 hive path
How to get 14 Hive path programmatically in Sharepoint.
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Satish BhatRank #2,496 · 563 reputationPosted Sep 29, 2011, 8:40 PM EDT
Using SPUtility to get the SetupPath of Sharepoint like so:
using Microsoft.SharePoint.Utilities;
string spSetupPath = SPUtility.GetGenericSetupPath(string.Empty);
// returns "C:\Program Files\Common files\Microsoft Shared\Web Server Extensions\14
Ref: Link 1
Suthish NairRank #92 · 22.8K reputationPosted Oct 5, 2011, 7:59 AM EDT
Satish BhatRank #2,496 · 563 reputationPosted Oct 6, 2011, 2:50 AM EDT