Detect working USB ports

Hi All,
I would like to know how can I detect and list down all available USB ports in a PC. Also to detect serial (COM) ports and parallel (LPT) ports.
THANK YOU
[180 byte] By [Coolboylp] at [2007-11-19 23:58:22]