loop curl in cmd
Why an exe? A simple batch file will work. (A text file with a .BAT extension containing commands to be executed)
Not sure what the purpose would be, but to call it 20 times with the same URL you could use:
for /l %%N in (1 1 20) do curl http://path-to-my-domain
If run from the command line then %%N must change to %N
If you want to call it with multiple URLs, then
curl http://path1curl http://path2curl http://path3...curl http://path20