@echo off set libs=User32.lib Dwmapi.lib Gdi32.lib set opts=-FC -GR- -EHa- -nologo -Zi set code=%cd% if not exist build ( mkdir build ) pushd build cl %opts% %code%\win32_typing_test.c %libs% -Fetyping_test popd