Yes it will work from XP to 98 with a serial cable (we use it to talk betwen XP laptops and locomotives running on dos).
It will be very slow on a serial cable ok for text but not for anything else. What do you wish to use it for?
There are many simple and cheap ways to connect computers together. I use a usb 2 data link £8 very fast transfer of files.