ODBC Driver Configuration Program
ODBCConf
- C:\Windows\system32\odbcconf.exe /?
Output:
---------------------------
ODBCConf Usage
---------------------------
ODBCConf.exe -- perform various MDAC install actions.
Switches:
/H, /? - Displays this usage dialog
/S - Silent, Don't display any error messages
/C - Continue executing actions even if an action fails
/R - Perform the actions after reboot
/F - Use a Response File, followed by the filename
/E - Erase the Response File when done
/L - Enable Logging, followed by a mode and filename
Log modes: n (normal), v (verbose), d (debug)
example '/Lv log.txt' Verbose logging to log.txt
/A - List an action. Actions are listed in {}
Actions:
SETFILEDSNDIR
INSTALLDRIVER <driver name|driver=driver path|other attributes>
INSTALLTRANSLATOR <translator name|translator=translator path|other attributes>
CONFIGDRIVER <driver name> <driver attributes>
CONFIGDSN <driver name> <DSN=DSN name|other attributes>
CONFIGSYSDSN <driver name> <DSN=DSN name|other attributes>
REGSVR <path to dll>
Examples:
ODBCConf INSTALLDRIVER "My Driver|Driver=c:\Drv.dll|APILevel=2"
ODBCConf CONFIGDSN "My Driver" "DSN=testDSN|Server=myServer"
ODBCConf /a {REGSVR foo.dll} /a {CONFIGDRIVER "MyDriver" "CPTimeout=60"}
ODBCConf /e /f "my response file.log" /Lv log.log
---------------------------
OK
---------------------------
Return Code: 1
C:\Windows\system32\odbcconf.exe
c:\>ver
Microsoft Windows [Version 10.0.19045.2075]
| File | Info |
|---|---|
| File Size | 27136bytes |
| Creation Time | 2019/12/07 18:09:23 |
| LastWrite Time | 2019/12/07 18:09:23 |
| ProductVersion | 10.0.19041.1 |
| FileVersion | 10.0.19041.1 (WinBuild.160101.0800) |
| Hash | Value |
|---|---|
| MD5 | 7d7b705e462b7eae1c4728064e5eff1c |
| SHA1 | 50d0abda40fc878682723bdaecc12d3974419429 |
| SHA224 | 3578b3064f14bdcce1a5154b12176b7078b520400c5873d433676e90 |
| SHA256 | 476346234300504cccf360ef8172b4e07cca59b43b7f09818b11b71210df3481 |
| SHA384 | 5876ab1d3fd483e7bb6565ec668fadf0d7fca52bb935c066682508647e0c103469d2664082da7600600d87e0674f6265 |
| SHA512 | 745036fa0bdde18e2302580c4ee0e95969d1c27f6f0741a95581a0c45f4946ed926d9f30d9d018308a4a3734a074c959df51275c5a81fbe253d7f93bfc4a2779 |