Gabriel Genellina <gagsl-...@yahoo.com.ar> added the comment: %HOME% isn't set by Windows. %HOMEDRIVE%%HOMEPATH% points to the user's home directory. %USERPROFILE% is where the user's profile is stored, and may or may not be the same as his home directory.
%HOMEDRIVE%%HOMEPATH% should be used then, defaulting to %USERPROFILE% only when those variables are not set (that's unlikely, but could happen e.g. with the runas command) ---------- nosy: +gagenellina _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6556> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com