views:

31

answers:

2

i am running this:

C:\Program Files\Microsoft SQL Server\80\Tools\Binn\osql -E -S Sql server-hl7\timeclockplus timeclockplus.sql -oresults.txt

and it doesnt like that there are spaces in the directory. how do i fix this problem?

+3  A: 

Does this work?

"C:\Program Files\Microsoft SQL Server\80\Tools\Binn\osql" -E -S "Sql server-hl7\timeclockplus timeclockplus.sql" -oresults.txt
Dan
+3  A: 

Try:

"C:\Program Files\Microsoft SQL Server\80\Tools\Binn\osql" -E -S "Sql server-hl7\timeclockplus timeclockplus.sql" -oresults.txt

You may have to include the ".exe" as well, but generally in DOS this is how spaces are handled.

David
To be fair, Dan beat me by a few seconds.
David