N notfred Lifer Feb 12, 2001 38,241 4 0 Sep 30, 2003 #1 IS there a win32API function to retrieve the system directory? (i.e. C:\Windows or C:\WINNT) Any way to get that information from the win32API would be nice.
IS there a win32API function to retrieve the system directory? (i.e. C:\Windows or C:\WINNT) Any way to get that information from the win32API would be nice.
Nothinman Elite Member Sep 14, 2001 30,672 0 0 Sep 30, 2003 #2 Couldn't you just use getenv and get the SYSTEMROOT environment variable?
N notfred Lifer Feb 12, 2001 38,241 4 0 Sep 30, 2003 #3 I have no idea, I've never used the win32API before but I need this one function for a python program.
I have no idea, I've never used the win32API before but I need this one function for a python program.
O oog Golden Member Feb 14, 2002 1,721 0 0 Sep 30, 2003 #4 yeah, just get it from the environment variables
D Descartes Lifer Oct 10, 1999 13,968 2 0 Sep 30, 2003 #5 There are facets of the win32 that follow lucid naming conventions, and this is one of them. The function you are looking for is GetSystemDirectory()
There are facets of the win32 that follow lucid naming conventions, and this is one of them. The function you are looking for is GetSystemDirectory()