Check that each pc has a unique name and an individual ip address like: 192.168.0.1 & 192.168.0.2
A command prompt that you can use is: ipconfig /all Note the space before the /all
Run this prompt on both machines to check their names and ip addresses.
Setup folder sharing.
When setting up the network make sure the firewall is turned off on both machines. Once the network is working, enable the firewall with a configuration to allow both machines access.