Link to home
Start Free TrialLog in
Avatar of cwchaw
cwchaw

asked on

How to administer ODBC using dos prompt

Is there any hidden option for odbcad32.exe?
What I need to do is to administer data source (add, delete,
admend) using dos prompt command. So how can I do it?
ASKER CERTIFIED SOLUTION
Avatar of Srw
Srw

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rpabst
rpabst

I do not totally agree with srw's answer so i'd like to comment.1. All ODBC entries (in Win95, WinNT) ARE in the registry   (not possibly) so changing ODBC.INI is useless unless you're   still working with windows 3.x2. There are utilities that can create a new ODBC datasource   (restricted to the MDB and SQLServer drivers, as far as     i know.) and delete a source. They are delivered with   Internet Information Server 3.0 and run only on Win32   platforms. These are command-line utilities that can be   called from BAT/CMD files and can be found in the   /inetpub/scripts directory.Good luck.
Avatar of cwchaw

ASKER

Dear Srw & rpabst,

Thanks for your comment, both of you are right in certain way. So I am working on how to do the setting on the registry file.