protected static void SetupFolder(string path, string projectname) { Directory.CreateDirectory(path); Directory.CreateDirectory(string.Format("{0}/{1}", path, projectname)); Directory.CreateDirectory(string.Format("{0}/{1}/Other Users", path, projectname)); Directory.CreateDirectory(string.Format("{0}/Avid MediaFiles/MXF/1", path)); FileStoreHelper.CopyFile("/project/.Template_Avid/tmpl_Proj.avp", string.Format("{0}/{1}/{2}.avp", path, projectname, projectname)); FileStoreHelper.CopyFile("/project/.Template_Avid/tmpl_Proj Settings.avs", string.Format("{0}/{1}/{2} Settings.avs", path, projectname, projectname)); FileStoreHelper.CopyFile("/project/.Template_Avid/tmpl_Proj Settings.xml", string.Format("{0}/{1}/{2} Settings.xml", path, projectname, projectname)); Directory.CreateDirectory(string.Format("{0}/{1}/SearchData", path, projectname)); Directory.CreateDirectory(string.Format("{0}/{1}/Statistics", path, projectname)); Directory.CreateDirectory(string.Format("{0}/{1}/WaveformCache", path, projectname)); Directory.CreateDirectory(string.Format("{0}/{1}/Trash", path, projectname)); ACLModifier.ChangePermission(path, 3777, true); }