Ensure that the folder %DirectoryPath; is a valid location and that the current user has permission to access the location. ...