Archive: $Temp question


$Temp question
could someone explain me why the result of $Temp can be different when exe is launched under scheduled task?
normally the result is something like:
C:\Documents and Settings\WinUser\Local Settings\Temp
but when exe is launched under sheduled task, it gives:
C:\WINDOWS\TEMP

it took me about a day to realize, why my program would not work if i launched it scheduled:D


Probably because it's ran under the system user.


yes it is! ...the the creator is really system.
tnx