Change cwd to %USERPROFILE% before executing command.

Use USERPROFILE instead of HOME. It should work now.