@echo off set dm=dm800se if (dm800se)==(%1%) ( set TARGET=v:\usr\lib\enigma2\python\Plugins\Extensions\GetPicons\ ) else if (dm500hd)==(%1%) ( set TARGET=u:\usr\lib\enigma2\python\Plugins\Extensions\GetPicons\ ) else ( echo Not valid dreambox name pause GOTO:EOF ) for %%f in ( readme.txt __init__.py plugin.py get_picons.py ) do echo f | xcopy /y %%f %TARGET%%%f pause