I have written a batch script in an interactive mode, for making some tasks.
Sometimes, These tasks takes a long time to be finished, and then the batch asks if the
This works for me..
there was a special character in line 4 which stackoverflow was omitting, code's pasted here: hashb.in/long
and line 4 and 5 can be used interchangeably ofcourse.