Question: how to transfer data between two pc via lan cable?
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”.