Her is the drillout.bat script and extras.
@echo >drill.out & setlocal enabledelayedexpansion
>drill.out echo M48
:fixed better way: put your 4 coordinates into textfile. LEAVE FIRST LINE BLANK.
:use 1,2,3,4 to specify which one you want to use.
for /f "skip=%1" %%a in (coords) do >> drill.out...