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.