Ctrl+C not reliably terminating Windows batch script
<p>I'm trying to write a batch script that prompts the user for a directory and copies multiple files from this directory to another one. To do this, I have a simple loop, using labels and <code>set /p</code> for input. The problem is that trying to get out of this loop by pressing <code>ctrl+c</code> doesn't always work.</p>

<pre><code>:checkloop

@set /p READMEPATH=Please enter the location of readme.txt: 

@if not exist "%READMEPATH%\README.txt" goto somethingmissing

@goto allfound

:somethingmissing
@echo Can't find readme in directory "%READMEPATH%"
@goto checkloop

:allfound

@echo Okay, found
</code></pre>

<p>Sample output is something like</p>

<pre><code>Please enter the location of readme.txt:
Can't find readme in directory ""
Please enter the location of readme.txt: ^CCan't find readme in directory ""
Please enter the location of readme.txt: ^CCan't find readme in directory ""
Please enter the location of readme.txt: ^CCan't find readme in directory ""
Please enter the location of readme.txt: ^CCan't find readme in directory ""
Please enter the location of readme.txt: ^CCan't find readme in directory ""
Please enter the location of readme.txt: ^CTerminate batch job (Y/N)? y
</code></pre>

<p>Hitting ctrl+c repeatedly acts as if I hit enter and the script continues, until it finally works. The number of tries needed is variable; sometimes it works right away, sometimes 2-3, rarely it takes 7+ times.</p>

<p>OS is Windows 10.</p>