Revert "Minor change in batch script for finding directory"

This reverts commit b8b7b5670acb4ac43dedd8893df3f6fc2ba5232b.