C:\>wmic path Win32_SerialPort

OR

C:\>powershell
PS> Get-WMIObject Win32_SerialPort

OR

PS> Get-WMIObject Win32_SerialPort | Select-Object Name,DeviceID,Description

...which is the exact equivalent of the accepted answer on that question.

In short: use PowerShell; it rocks.
_________________________
-- roger