|Here's something to work with (I won't call it a solution):|
@echo off & setlocal enabledelayedexpansion
set mo=Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
for %%a in (%mo%) do (
set /a c+=1
set m= %m%
set m=%m: 0=%
set g=%g% !%m%!
echo md g=[%g%]
:===== end snippet
I'm sure powershell or vbscript have better resources for this, but you DID say batch.