![](https://secure.gravatar.com/avatar/1930c667fbd3884fd581e95eb4d5b15c.jpg?s=120&d=mm&r=g)
3 Nov
2012
3 Nov
'12
12:43 p.m.
it seems that Ctx [re]defines the system variable HOME on its run;
This is not an answer, but a guess: Could it be that your interactive shell uses one setting, and the non-interactive shell uses another? I'm only guessing here, I don't know much about Windows administration; I just remember being driven to despair by a similar 'these settings are not used if the shell is not interactive' problem under Linux. --Sietse