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