Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Modify the ODBC Default Value to Tab-Delimited When Reading Text FilesContent of Modify the ODBC Default Value to Tab-Delimited When Reading Text Files.vbsMD5 Hash: FD46531709F9A29DCA9F4A361B9B4D13 |
||
' Description: Modifies the registry so that ODBC assumes that text files -- unless otherwise indicated -- are saved in tab-delimited format.
Const HKEY_LOCAL_MACHINE = &H80000002 strComputer = "." Set objReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & _ strComputer & "\root\default:StdRegProv") strKeyPath = "SOFTWARE\Microsoft\Jet\4.0\Engines\Text" strValueName = "Format" strValue = "TabDelimited" objReg.SetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,strValue | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |