Long microchannels with thin walls, small width, and nanoholes or irregular shaped microgaps, which are similar to capillaries or cancerous vessels, are urgently needed to simulate the physiological activities in human body. However, the fabrication of such channels remains challenging. Here, microchannels with designable holes are manufactured by combining laser printing with line-contact capillary-force assembly. Two microwalls are first printed by femtosecond laser direct-writing, and subsequently driven to collapse into a channel by the capillary force that arises in the evaporation of developer. The channel can remain stable in solvent due to the enhanced Van der Waals' force caused by the line-contact of microwalls. Microchannels with controllable nanoholes and almost arbitrary patterns can be fabricated without any bonding or multistep processes. As-prepared microchannels, with wall thicknesses less than 1 µm, widths less than 3 µm, lengths more than 1 mm, are comparable with human capillaries. In addition, the prepared channels also exhibit the ability to steer the flow of liquid without any external pump.