Are there any way to stop typing 'go' in sqlcmd?
No, you need to type a batch separator. The default is GO. However, you can change that by using the -c switch.

For example:

C:\&gt;sqlcmd -SServername -cFOO

1&gt; select @@version

hit enter

2&gt; FOO

hit enter

This will run.

Can't get rid of the intermediate enter for you. Sorry.