Set endorsed property based on location of batch file.