[Py Windows] User Directory Path
- From: "Zoool" <polykrom(at)belcenter(dot)com>
- Date: Sat, 30 Apr 2005 19:44:42 +0200
Hi,
Is there a way to know the main directory path of a user session?
I mean the "C:\Documents and Settings\username" Directory of the user logged
into a windows session.
In .NET you can do this with a :
System.Environment.GetEnvironmentVariable("HOMEDRIVE")
System.Environment.GetEnvironmentVariable("HOMEPATH")
Maybe it's a stupid question that was already answered.. but can't anything
on archives..
thanks a lot
Ben
.
- Follow-Ups:
- Re: [Py Windows] User Directory Path
- From: Wolfgang Strobl
- Re: User Directory Path
- From: wittempj@xxxxxxxxxxx
- Re: [Py Windows] User Directory Path
- Prev by Date: Re: large dictionary creation takes a LOT of time.
- Next by Date: Re: Directory in Windows
- Previous by thread: Directory in Windows
- Next by thread: Re: User Directory Path
- Index(es):
Relevant Pages
|