The SelectedPath property is type String and can thus be set to any path. The RootFolder property is type SpecialFolder so, as kleinma says, can only be set to one of the SpecialFolder values. SpecialFolder is an enumeration so you cannot just substitute any old path string for one of its values.