okyeeee, try this...
i m writing a command by which you can execute any sql query(largest)...
C:\Program Files\Microsoft SQL Server\90\Tools\Binn>OSQL.exe -E -Syourserverip\sqlinstance -i"c:\my sqlfile.sql"
e.g.
C:\Program Files\Microsoft SQL Server\90\Tools\Binn>OSQL.exe -E -S192.168.1.1\SQLExpress -i"c:\my sqlfile.sql"