2 replaced http://asianhospital.com/?id= with http://asianhospital.com/?id= edited Mar 20 '17 at 10:17 I had the same problem and this worked for me: You can get "user path variable" through: ``````>reg query HKCU\Environment /v path `````` The output (on my machine) is: ``````HKEY_CURRENT_USER\Environment path REG_SZ C:\Program Files (x86)\GnuWin32\bin `````` But then you have to parse this and use the relevant part. I read the solution here herehere and tested on my machine. I had the same problem and this worked for me: You can get "user path variable" through: ``````>reg query HKCU\Environment /v path `````` The output (on my machine) is: ``````HKEY_CURRENT_USER\Environment path REG_SZ C:\Program Files (x86)\GnuWin32\bin `````` But then you have to parse this and use the relevant part. I read the solution here here and tested on my machine. I had the same problem and this worked for me: You can get "user path variable" through: ``````>reg query HKCU\Environment /v path `````` The output (on my machine) is: ``````HKEY_CURRENT_USER\Environment path REG_SZ C:\Program Files (x86)\GnuWin32\bin `````` But then you have to parse this and use the relevant part. I read the solution here here and tested on my machine. 1 answered Mar 11 '14 at 0:17 user2442366 1091 I had the same problem and this worked for me: You can get "user path variable" through: ``````>reg query HKCU\Environment /v path `````` The output (on my machine) is: ``````HKEY_CURRENT_USER\Environment path REG_SZ C:\Program Files (x86)\GnuWin32\bin `````` But then you have to parse this and use the relevant part. I read the solution here here and tested on my machine.