• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2451
  • Last Modified:

Copy / Install ODBC DSN in Windows 7

I have a program that installs using a batch file that copies a .dsn file from a network location to "C:\Program Files\Common Files\ODBC\Data Sources".  This works under XP just fine, however the path is not valid in Windows 7.  Where is the new path to copy this .dsn file under Windows 7?  Thanks.  
0
CKrahn9
Asked:
CKrahn9
  • 2
1 Solution
 
wantabe2Commented:
it will be different if it is a 64 bit OS.
0
 
CKrahn9Author Commented:
I am running 32bit Windows 7.
0
 
CPetrich12Commented:
Run the attached .reg file which will add the appropriate key and value to your registry which will default the DSN lookup location to:  "C:\Program Files\Common Files\ODBC\Data Sources"
File-DSN-for-Windows-7.reg
0
 
CKrahn9Author Commented:
Brilliant!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now