Вот мой комментарий, написанный как ответ для вас.
@Echo Off
Set "String=abcdefghijklmnopqrstuvwxyz"
Set /A Skip=%RANDOM% %% 26
SetLocal EnableDelayedExpansion
Set "Letter=!String:~%Skip%,1!"
Echo %Letter% is the character after skipping the first %Skip%.
Pause
И, call
добавочный слой расширения:
@Echo Off
Set "String=abcdefghijklmnopqrstuvwxyz"
Set /A Skip=%RANDOM% %% 26
Call Set "Letter=%%String:~%Skip%,1%%"
Echo %Letter% is the character after skipping the first %Skip%.
Pause