|
Ok, I'm testing out another ODBC connection the the data on it is going to be a little different.
Below I ran regshot in my test enviroment and created a .txt odbc connection:
It added 3 keys and 11 values that used the odbc. I converted them so that it could work with my login script, but it did not execute:
Here is the scriptWriteValue WriteValue ;Keys Added ("HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI","test") ("HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\test","Engines") ("HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\test\Engines","Text") ;Values Added ("HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\ODBC Data Sources","test", "Driver da Microsoft para arquivos texto (*.txt; *.csv)", "Reg_SZ") ("HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\test\Engines\Text","ImplicitCommitSync", "", "Reg_SZ") ("HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\test\Engines\Text","Threads", "0x00000003", "REG_DWORD") ("HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\test\Engines\Text", "UserCommitSync", "Yes" ,"Reg_SZ") ("HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\test","Driver", "C:\WINDOWS\System32\odbcjt32.dll" ,"Reg_SZ") ("HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\test","DefaultDir", "Z:\","Reg_SZ") ("HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\test","DriverId", "0x0000001B","Reg_DWORD") ("HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\test","FIL", "text","Reg_SZ") ("HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\test","SafeTransactions", "0x00000000","Reg_DWORD") ("HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\test","UID" ,"","Reg_SZ")
but it did not run, am I supposed to add write value to each line?
|