If you want to connect them directly, you'll need a crossed Ethernet cable and then you'll have to set both systems up. There's an article on how to do that
here, although they're using Linux. But you should be able to make those settings in the Windows Network Administration window.
Of course, the router-method that insertAlias posted may be easier, as it requires less configuration.
Greetings,
Nepomuk