@echo off set FXC="%DXSDK_DIR%\Utilities\bin\x64\fxc.exe" -nologo if not exist data mkdir data %FXC% /T vs_4_0 /E Vertex /Fo data/vertex.fx shader/fx.hlsl %FXC% /T ps_4_0 /E Pixel /Fo data/pixel.fx shader/fx.hlsl