Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

curl "not recognized as internal or external command"

 
Graeme Byers
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have been following "Maven : The Definitive Guide" by Sonatype page 75 and so downloaded curl-7.24.0 for the example.
I noticed that there has been one previous question on curl in this forum and expect that others have run the example successfully.
What should I put in my WinXP-Pro path so that I don't get the error above ?

Thank you for any help.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can download a Windows version of curl from http://curl.haxx.se/download.html. Grab one of the binary zip files, download it, and unpack it to anywhere in your PATH.
 
Graeme Byers
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Peter, Thank you for your reply but I did what you suggest before posting.

Here is a listing of %path%


Here is a directory listing of C:\Program Files\curl-7.24.0


 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Note that I wrote " Grab one of the binary zip files". You grabbed the source code instead. The binary ZIP should have only one file in it: curl.exe
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic