Fixed Behavior different than CMD

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:


When I run it under Windows CMD the result is:


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