Lay the carpet stripping close to the wall as directed by the manufacturer. Make sure the stripping is specifically designed for cement or concrete floors. The carpet stretches between the pieces of stripping.
Place a masonry nail in the pre-drilled hole on the stripping. Make sure the nail is long enough to drive 1 and 1/4 inch into the cement.
Hit the nail forcefully, directly on the head with either a small sledge hammer or a hand drilling hammer. These hammers handle heavy-duty jobs, including nailing masonry nails.