G
googo man
Hi
I setup an ODBC programmatically as follows. The problem is that i
need to replace the line where it says "UID"="ops$" with the
following:
"UID"="ops$" + %username%
it doesn't work. Any idea what i can do to append the username?
thanks
reg import file1.txt
---- File1.txt ---
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\ODBC\ODBC.INI\ODBC Data Sources]
"Oracle"="Microsoft ODBC for Oracle"
[HKEY_CURRENT_USER\SOFTWARE\ODBC\ODBC.INI\Oracle]
"Driver"="C:\\WINDOWS\\System32\\MSORCL32.dll"
"Description"="Oracle ODBC to access oclprd"
"UID"="ops$"
"Server"="oclprd"
I setup an ODBC programmatically as follows. The problem is that i
need to replace the line where it says "UID"="ops$" with the
following:
"UID"="ops$" + %username%
it doesn't work. Any idea what i can do to append the username?
thanks
reg import file1.txt
---- File1.txt ---
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\ODBC\ODBC.INI\ODBC Data Sources]
"Oracle"="Microsoft ODBC for Oracle"
[HKEY_CURRENT_USER\SOFTWARE\ODBC\ODBC.INI\Oracle]
"Driver"="C:\\WINDOWS\\System32\\MSORCL32.dll"
"Description"="Oracle ODBC to access oclprd"
"UID"="ops$"
"Server"="oclprd"