There is a way that you can do this directly in the GUI of the DSS V7, from the GUI in CONFIGURATION -> NAS resources -> Shares -> Function: Create new share, once there look from the top the function of "Specify path" click on that and then find the directory that you want to remove and then click once then click the "Delete" button.