On Mon, 11 Sep 2006, Sisyphus wrote:

> Hi,
> Does anyone know if it's guaranteed that $ENV{TEMP} will be set on Windows ?
>
> If it's not guaranteed to exist, then some measure of "likelihood" would be
> valuable - eg. what will detemine whether it exists or not. ?

File::Spec::Win32:
  http://cpan.uwinnipeg.ca/htdocs/PathTools/File/Spec/Win32.html
uses
     $ENV{TMPDIR}
     $ENV{TEMP}
     $ENV{TMP}
     SYS:/temp
     C:\system\temp
     C:/temp
     /tmp
     /
for the tmpdir() method.

-- 
best regards,
Randy Kobes
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to