Employees was trying to start a Caterpillar D9 track dozer, but to would not crack. He opened the battery box cover to check the connections. He decided that he needed to charge the batteries and started to climb off the machine. He used the lip of the battry box as a hand hold with his right hand and the box cover closed on his hand resulting in a cut to his right ring finger.