use variable name as HOME and variable value as %userprofile% to set the home dir in windows.By default your .ssh folder should be there.
To view or change environment variables:
1.Right-click My Computer, and then click Properties.
2. Click the Advanced tab.
3. Click Environment variables.
4. Click one the following options, for either a user or a system variable:
o Click New to add a new variable name and value.
o Click an existing variable, and then click Edit to change its name orvalue.
o Click an existing variable, and then click Delete to remove it.
Complete article to set up environment variable
How do i set and check HOME? – Fantastic Mr Fox – 2012-08-12T22:28:04.987
and are you sure the environment variable is home because %HOME% is not recognised. – Fantastic Mr Fox – 2012-08-12T22:55:01.540
See http://www.itechtalk.com/thread3595.html. What do you mean by "%HOME% is not recognized"?
– Fran – 2012-08-13T01:48:22.587i cant cd to %HOME% it says that it is not a recognised path. – Fantastic Mr Fox – 2012-08-13T02:08:38.397
Does
echo %HOME%
show you the value of the variable? If so, the variable is set. Get that working, and the rest should work too. – Fran – 2012-08-13T13:59:52.650