1@echo off 2magick php.svg -size 512x512 php.bmp 3 4for %%i in (16,24,32,48,64,128,256) do magick php.bmp -scale %%ix%%i php-ico-%%i.png 5 6magick -adjoin php-ico-* php.ico 7 8del /f /q php-ico-*.png php.bmp 9