1@echo off 2set _arch=%1 3set _arch=%_arch:Win32=x86% 4copy %2"\Redist\D3D\"%_arch%"\d3dcompiler_46.dll" %3 > NUL 5