I have a batch file which runs an oSQL command (below).
oSQL -U devUID -P testPwd -S testServer -d testDb -Q "EXEC [dbo].[sprocTEST]"
When I run this batch file on systems which do not have sqlserver installed, it throws an error.
"odbc driver manager data source name not found and no default driver specified osql"
NOTE: Apart from the batch file I also copied - osql.exe , osql.rll
Does any one know how to resolve the odbc driver error?
Help much appreciated.