win32 user directory

Ryan C. Gordon icculus at
Tue Aug 28 23:13:56 EDT 2001

> Windows NT/2k has a user directory, it is defined by concatenating the
> environment variables HOMEDRIVE and HOMEPATH. This should definately be
> added to the win32 version.
> Often people do define a HOME environment variable anyway. Maybe this
> should be used first.

Not a bad idea.

I've committed to CVS a version that uses the HOME variable if it's
defined. If not, it uses $HOMEDRIVE\$HOMEPATH, and failing that, it'll use
the fallback rules (basedir\username).


More information about the physfs mailing list