This is a notation for expanding a substring of a string; look at this command line with a ready-made form that you will understand.
C:\>set temp=stackoverflow.com C:\>echo %temp% stackoverflow.com C:\>echo %temp:~5% overflow.com C:\>echo %temp:~5,8% overflow C:\>
if you do not understand, here is the syntax (in my opinion)
set variable=%variable:~startingCharector [,OptionalLenghtOfCharctors]%
Where
OptionalLenghtOfCharctors by default, it accepts the remaining characters of the string.
source share