|yes, It can be used by set /p command.|
below can be the syntax.
set /p IP= Enter the target IP and press enter :
nbtstat -a %ip%
Set /p _Exit=Prss enter to Exit:
You can use loop if you want to keep the same scrren after pressing enter.