basically, yes. You would need to put the software on and point the devices at each others Ir. Right click the file and pick send by Ir. Transfer rates will be painfully slow, around 500Kbps ( 1/2 a meg ) and the connection can drop quite easily.
If both machines have a lan ( ethernet ) port then just buy a cheap rj45 cross over cable for a few pounds. You could then send data back and forth at a tremendous rate.