Dave
"overbored" <overb...@SPAMoverbored.net> wrote in message
news:Xns957F951939037...@207.46.248.16...
Usually, way back when, dev tools needed lots of temp
space while user apps not much. Today, it's probably
reversed, and yeah, these may as well point to the same
place. What's that got to do with having two? I'm
sure TMP came first, but that was too 'oddly' spelt for
regular users, so out came TEMP, many years after TMP.
TMP had to stay around. TMP is nice because TMP\0 fits
in an even number of bytes: a nice-sized, 4-byte chunk.
--
40th Floor - Software @ http://40th.com/
iPlay : the ultimate audio player for iPAQs
mp3, ogg, mp4, m4a, aac, wav, play & record
parametric eq, xfeed, reverb - all on a ppc
But as most programmers don't have a clue about the difference either, programs often use Temp (they should be using neither as programs are supposed to ask windows where to write their temp files to and windows replies with the temporary directory to use).
--
----------------------------------------------------------
http://www.uscricket.com
"overbored" <overb...@SPAMoverbored.net> wrote in message news:Xns957F951939037...@207.46.248.16...
1.. The path specified by the TMP environment variable.
2.. The path specified by the TEMP environment variable, if TMP is not defined or if TMP specifies a directory that does not exist.
3.. The current directory, if both TMP and TEMP are not defined or specify nonexistent directories.
Windows NT/2000/XP: The GetTempPath function does not verify that the directory specified by the TMP or TEMP environment variables exists. The function gets the temporary file path as follows:
1.. The path specified by the TMP environment variable.
2.. The path specified by the TEMP environment variable, if TMP is not defined.
3.. The Windows directory, if both TMP and TEMP are not defined.
--
----------------------------------------------------------
http://www.uscricket.com
"Alex Nichol" <alexn....@ntlworld.delete.com> wrote in message news:bmpnm05h36lg5ehrv...@4ax.com...
> TEMP is the usual one, but there are still some ancient programs around
> that use TMP, so it is usual to set both (to the same folder) just in
> case. They then behave identically
>
>
> --
> Alex Nichol MS MVP (Windows Technologies)
> Bournemouth, U.K. Al...@mvps.D8E8L.org (remove the D8 bit)