Thank you.
I understand your problem, but I need to understand how you got there in order to fix it.
OSQL is not included with Windows XP by default, the only time I have run across it is when installing SQL Server or similar software development packages. Are you aware of this?
If so, please tell me what program you are trying to install to use OSQL.