Windows Vista 中的 ODBC 文件 DSN

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/510852/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 11:56:00  来源:igfitidea点击:

where ODBC File DSN in Windows Vista

windowswindows-vistaregistry

提问by

In Windows XP, 2003 there is one entry in the registry for ODBC file DNS location in the system:

在 Windows XP, 2003 中,系统中 ODBC 文件 DNS 位置的注册表中有一个条目:

HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\ODBC File DSN\DefaultDSNDir

HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\ODBC 文件 DSN\DefaultDSNDir

Where can I get the default DSN folder in Windows Vista and/or Windows 2008

在哪里可以获得 Windows Vista 和/或 Windows 2008 中的默认 DSN 文件夹

Thanks,

谢谢,

回答by ErikE

The registry key you mentioned is put there by Microsoft Office. There is a per user version as well, in HKEY_CURRENT_USER\Software\ODBC\odbc.ini\ODBC File DSN\DefaultDSNDir. See http://support.microsoft.com/kb/165866

您提到的注册表项由 Microsoft Office 放在那里。在HKEY_CURRENT_USER\Software\ODBC\odbc.ini\ODBC File DSN\DefaultDSNDir. 请参阅http://support.microsoft.com/kb/165866