I want to connect to a MS SQL Server 7 using osql.

Can I just copy the file osql.exe to the client (client has no VB or SQL installed, it has just Win NT4) and run it using:

osql /SBart /Usa /P

I get error the following error:
[Microsoft][ODBC SQL Server Driver]Client unable to establish connection
[Microsoft][ODBC SQL Server Driver][Named Pipes]ConnectionOpen (CreateFile()).

When connecting to another serger I get different message:
osql /SHomer /Usa /P

[Microsoft][ODBC SQL Server Driver][Named Pipes]Specified SQL server not found.
[Microsoft][ODBC SQL Server Driver][Named Pipes]ConnectionOpen (CreateFile()).

Hope someone know how to connect to SQL Server from client using osql. I have no problem if the client have MS SQL installed as well.

Thanks.