Question: I am attempting to use curl commands in a batch file I am writing. I have downloaded the latest curl executable and run it but I cannot use the command "curl" What steps should I take to use it correctly? The Command line still says

**"curl is not recognized as an internal or external command, able program or batch file"**

I am not interested in doing anything else with cURL

Answer: 
You will have to add the directory containing `curl.exe` to your `path`, probably the `bin` directory.
In Windows XP you can do this by:

1. Right click your computer and choose properties
2. Click the advanced tab
3. Click environmental variables
4. Find `path` in the list and add the path to your curl directory
You need to add it to the path environment variable. If you want to do it through batch then you can update the reg key it stores the directories in with curl.exe like this:

```
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v Path /t REG_EXPAND_SZ /d "curlpath\curl.exe";%path%" /f

```

Or if the exe isn't dependent on any other files you could copy it to of paths existing directories like `C:\Windows\system32.`

Hope this helps!