Advantage of LAN cable over others
Fast data transfer
Connect both computers with a LAN cable. You can use any LAN cable (crossover cable or Ethernet cable); it doesn’t matter in the modern computer.
OK, now you have to turn ON sharing option on both computers.
Go to Control Panel > Network and Internet > Network and Sharing Center > Advanced sharing settings.
And make sure you turn on network detection and turn OFF Password Protection. This way, you don’t have to type in your password each time, when you are trying to access it from another computer.
However, this is also a significant security risk. So, make sure you turn on Password protection once you are done.
For continue read this link