Skip to content

Instantly share code, notes, and snippets.

@pmachapman
Created May 1, 2016 01:00
Show Gist options
  • Save pmachapman/7c59b15f63316c469057939264b0e4d3 to your computer and use it in GitHub Desktop.
Save pmachapman/7c59b15f63316c469057939264b0e4d3 to your computer and use it in GitHub Desktop.
Query the registry for available serial ports
@echo off
rem Queries the registry for available serial ports
rem From Silicon Chip Magazine November 2015
reg query HKLM\hardware\devicemap\serialcomm
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment