http://qs321.pair.com?node_id=37119


in reply to Windows convention for per-user configuration files for a Perl application

If you're on an NT domain, you have the environment variables HOMEDRIVE, HOMEPATH and HOMESHARE, works in both NT4 and 2000. I think you have those on 95/98 too but I'm not sure. However, profiles aren't the same on 9x and NT, so I wouldn't use $ENV{USERPROFILE}.