How can I run this batch file?

Posted by tech on Super User See other posts from Super User or by tech
Published on 2010-05-19T09:05:09Z Indexed on 2010/05/19 9:11 UTC
Read the original article Hit count: 321

Filed under:
|
|
|
OSQL -S 127.0.0.1 -U sa -P password
RESTORE DATABASE DATA FROM DISK = C:\backup\data.dat
GO
EXIT

This is the batch file. but after I run the OSQL -S 127.0.0.1 -U sa -P password, the dos command start with the line

1> 

After that, the batch cmd can't run. How can I fix this problem? thz.

© Super User or respective owner

Related posts about sql-server

Related posts about dos