You can avoid splitting or marring wood, such as hardwood molding, by using what is called a nail spinner. With this low-cost device chucked into your power drill, you just insert the nail and then “drill” it into position. The nail will penetrate to within 1/4 in. or so of the surface, then you can drive it home with a hammer and a nailset.