G
Guest
Hi, I am trying to extract "NOV" using these commands. But I am unable to
pass the value to %mmm%. I am novice in this feild so I have constructed
these lines using the news groups. Can some one advise me.
set month=%date:~4,2%
set monstring=XXXJANFEBMARJUNJULAUGSEPOCTNOVDEC
set /a mm=(100%month%%%100)*3
set mmm=%%monstring:~%mm%^,3%%
pass the value to %mmm%. I am novice in this feild so I have constructed
these lines using the news groups. Can some one advise me.
set month=%date:~4,2%
set monstring=XXXJANFEBMARJUNJULAUGSEPOCTNOVDEC
set /a mm=(100%month%%%100)*3
set mmm=%%monstring:~%mm%^,3%%