Fixed Behavior different than CMD

#1
I have Take Command v18.0

When I run the following batch file:

set start_year=2015
set end_year=2016
echo start_year=%start_year%
echo end_year=%end_year%
set FISC=FY%start_year:~-2%-%end_year:~-2%
echo FISC=%FISC%


the result is:

FISC=FY-

When I run it under Windows CMD the result is:

FISC=FY15-16

How can I write this so Take Command gives me the same result as CMD?