Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create and Remove System DSN with vbscript

Status
Not open for further replies.

Marg57

MIS
Jun 4, 2003
6
0
0
CA
I'm really new to vbscript and I'm trying to find a way to remove and create a System DSN with vbscript.

Any help would really be appreciated! :->
 
Why don't you try to use a .reg file ?

Hope This Help
PH.
 
If you create your DSN as a File DSN initially, then you only have to copy the .dsn file. (Assuming drivers are setup)

To specify a file DSN in a connect string, you specify "FILEDSN=" (file-path), instead of "DSN=".
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top