Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 osql problem

Author  Topic 

pattikay
Starting Member

36 Posts

Posted - 2002-08-13 : 05:15:07

Hi,
Is there a way to run a script file from the osql utility whose file name has spaces in between e.g 'There are spaces.sql' ?


jasper_smith
SQL Server MVP & SQLTeam MVY

846 Posts

Posted - 2002-08-13 : 06:09:30
just surround it in double quotes -i"c:\this is a test.sql"


HTH
Jasper Smith
Go to Top of Page

pattikay
Starting Member

36 Posts

Posted - 2002-08-13 : 06:14:45

Hey,Thanks, it works!.


Go to Top of Page
   

- Advertisement -