0

What I am looking for is a simple vb script that can run and return a list of all the DSN's or ODBC connections on the local machine.

BSanders
  • 295
  • 1
  • 6
  • 29

1 Answers1

0

This is all you need to do:

   for /f %%a in ('reg query HKLM\Software\ODBC\ODBC.INI') do echo %%~na
   pause
Matt Williamson
  • 6,947
  • 1
  • 23
  • 36