Re: [python-win32] %TEMP% directory

2008-01-08 Thread le dahut
Thank you for this enlightenment. I've other question but I'll create another topic to keep things clear. Tim Johnson a écrit : > Actually I that's the normal behavior. The TEMP environment variable is > loaded by your user profile, but %TEMP% points to %WINDIR%\TEMP by default > if it isn't set

Re: [python-win32] %TEMP% directory

2008-01-08 Thread Tim Johnson
Actually I that's the normal behavior. The TEMP environment variable is loaded by your user profile, but %TEMP% points to %WINDIR%\TEMP by default if it isn't set explicitly. You can test this by running 'runas /noprofile /user:some_user cmd', %TEMP% will point to %WINDIR%\TEMP. Whatever script

Re: [python-win32] %TEMP% directory

2008-01-08 Thread le dahut
No it is not, it is a fresh installed XP, and the same problem occurs on undreds of machines running XP and 2k. But I forgot to precise that once the session is opened and the desktop is completely loaded, %TEMP% points to the correct directory (C:\Doc & Settings\\...\temp). This strange behavi

Re: [python-win32] %TEMP% directory

2008-01-07 Thread Tim Roberts
le dahut wrote: > I've a strange behavior with windows XP, %TEMP% points to %WINDIR%\TEMP > instead of "C:\Documents and Settings\\Local Settings\Temp" at > logon time. Since I have a program that uses temp files it can write > there when a non-admin user logs on so it failed with traceback etc.

[python-win32] %TEMP% directory

2008-01-07 Thread le dahut
Hello, I've a strange behavior with windows XP, %TEMP% points to %WINDIR%\TEMP instead of "C:\Documents and Settings\\Local Settings\Temp" at logon time. Since I have a program that uses temp files it can write there when a non-admin user logs on so it failed with traceback etc. Why ? Is there