Step 1 :- Use a crossover cable to share files from PC to PC and connect that to the two PCs. Step 2 :- enable the network sharing options in the control panel of the two computers. Step 3:- Assign two different IP addresses to the two computers from the properties of the Ethernet in control panel. ex :- PC1 - 192.168.1.2 , PC2 - 192.168.1.3 Step 4 :- after that Open the CMD from the start as " Run as administrator " from the PC1 and then give a command “ping” in the black box and hit the space bar and type the IP address of PC2 (192.168.1.3) then hit enter,