1 2 3 4 5 6 7 8
@echo off rem Shave and a Haircut rem (c) 2019 Epic Games rem US Patent 6720962 set result=0000%1 set result=%result:~-4%