SyntaxFix
Write A Post
Hire A Developer
Questions
Nicely explained above!
For all those who may suffer like me to get this working in a localized Windows (mine is XP in Slovak), you may try to replace the % with a !
%
!
So:
SET TEXT=Hello World SET SUBSTRING=!TEXT:~3,5! ECHO !SUBSTRING!