rem Copy runtime DLLs 

FOR /F %%I IN ('stack exec -- where libstdc++-6.dll') DO copy /Y "%%I" .\
FOR /F %%I IN ('stack exec -- where libgcc_s_seh-1.dll') DO copy /Y "%%I" .\
FOR /F %%I IN ('stack exec -- where libwinpthread-1.dll') DO copy /Y "%%I" .\

rem Copy runtime DLLs 

echo "" | stack exec -- where libstdc++-6.dll > lib.txt
echo "" | stack exec -- where libgcc_s_seh-1.dll >> lib.txt
echo "" | stack exec -- where libwinpthread-1.dll >> lib.txt

FOR /F %%I IN (lib.txt) DO copy /Y "%%I" .\

del /q lib.txt
Revert "For loop without external file"
Revert "For loop without external file"

This reverts commit edd19a6a29a160495ace70efbef8be33bcecad5c.
