title: Trying to run a CURL script on Windows
body: <p>I'm very much a beginner when it comes to web development, and I'm not at all familiar with Windows. I have a curl script that runs on my Mac, but I need to be able to run it on a Windows machine. </p>
  
  <p>I've installed Cygwin (I think? I downloaded something off of that site) but I still don't know how to execute the script. </p>
  
  <p>Typing cmd.exe script_name.sh into the command prompt window returns "Microsoft Windows version 10 2015 Microsoft Corporation". No errors, nothing.</p>
  
  <p>Pasting the entire script into the command prompt returns "curl is not recognized as an internal or external command, operable program or batch file".</p>
  
  <p>Here is my script (modified to remove passwords and such):
  curl -X POST \
  "<a href="http://USERNAME:PASSWORD@localhost:8080/api/v2/projects/PROJECT_NAME/cards/CARD_NUM/attachments.xml" rel="nofollow">http://USERNAME:PASSWORD@localhost:8080/api/v2/projects/PROJECT_NAME/cards/CARD_NUM/attachments.xml</a>" -F "file=@/path/to/file/file_name.pdf"</p>
  
  <p>Can someone please explain to me very slowly how to execute this thing? I feel completely stupid and frustrated because all I need to do on my Mac is type ./script.sh and it works. I've spent the past few days googling everything I can think of and nothing is working. Thank you very much for your help.</p>