Can you post the exact code you're using, including the configuration of the env vars? If you're on Win32, try to see if it's a trivial backslashes problem (i.e. a backslash has to be inserted as "\\" instead of a simple "\", due to the fact that it's used for escaping chars in C).