Trim \ and / off target path