Remove folder from path