Skip to content

Instantly share code, notes, and snippets.

@mistificator
Last active June 29, 2016 10:03
Show Gist options
  • Save mistificator/5cfd66046c9ad238f8820e6d289c5604 to your computer and use it in GitHub Desktop.
Save mistificator/5cfd66046c9ad238f8820e6d289c5604 to your computer and use it in GitHub Desktop.
@for /f %%i in ('reg.exe query "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\PCI\VEN_1393&DEV_1680&SUBSYS_00000000&REV_02"') do @set MoxaDevice="%%i"
@start rundll32.exe devmgr.dll,DeviceProperties_RunDLL /DeviceID %MoxaDevice:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\=%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment