I am having issues with a problem accomplished very easily in most languages but I can\'t seem to figure it out in batch. I want to extract the last character of a string.
Batch does not use C style logic, so you really have to think differently for much of it.
That said, String -right appears to be what you want: http://www.dostips.com/DtTipsStringManipulation.php#Snippets.RightString
%str:~-1%
That will get you the last character.