CODE: [Copy to clipboard]@echo off set num=26 :check bdrv|nset lastpart=$%num% count num - if "%lastpart%"=="" goto check echo %lastpart% pause :end