First, use a CAT5 crossover cable, not a straight patch cable.
Manually configure the TCP/IP properties as follows:
PC1:
IP Address 192.168.0.2
Subnet Mask: 255.255.255.0
PC2:
IP Address 192.168.0.3
Subnet Mask: 255.255.255.0
Make sure that NETBIOS over TCP/IP is enabled on the WINS tab in TCP/IP Advanced Properties.
Manually configure the TCP/IP properties as follows:
PC1:
IP Address 192.168.0.2
Subnet Mask: 255.255.255.0
PC2:
IP Address 192.168.0.3
Subnet Mask: 255.255.255.0
Make sure that NETBIOS over TCP/IP is enabled on the WINS tab in TCP/IP Advanced Properties.