Try this, make a *.txt file and put this text bellow and then rename it to a *.bat file. @echo off
:start
SET /P com=
%com%
pause
goto :start