Question: how to connect two laptops using lan cable and share files?
Answer: Step 2: Enable Network Sharing on Both PCs. ... 
Once the Control Panel window opens, click on Network and Internet.
In the next dialogue box, open Network and Sharing Center. ... 
On the left-hand side of 'Network and Sharing Center' window, click on “Change advanced sharing settings”.