Many experiments on the mechanics of nanostructures require the creation of rigid clamps at specific locations. In this work, electron-beam-induced deposition (EBID) has been used to deposit carbon films that are similar to those that have recently been used for clamping nanostructures. The film deposition rate was accelerated by placing a paraffin source of hydrocarbon near the area where the EBID deposits were made. High-resolution transmission electron microscopy, electron-energy-loss spectroscopy, Raman spectroscopy, secondary-ion-mass spectrometry, and nanoindentation were used to characterize the chemical composition and the mechanics of the carbonaceous deposits. The typical EBID deposit was found to be hydrogenated amorphous carbon (a-C:H) having more sp(2)- than sp(3)-bonded carbon. Nanoindentation tests revealed a hardness of similar to 4 GPa and an elastic modulus of 30-60 GPa, depending on the accelerating voltage. This reflects a relatively soft film, which is built out of precursor molecular ions impacting the growing surface layer with low energies. The use of such deposits as clamps for tensile tests of poly(acrylonitrile)-based carbon nanofibers loaded between opposing atomic force microscope cantilevers is presented as an exam le application.