Re: .tmp files
From: Jim Carlock (anonymous_at_127.0.0.1)
Date: 05/13/04
- Next message: Robert: "Re: Calling procedure on another software"
- Previous message: Bob O`Bob: "Re: App Major.Minor.Revision and dll"
- In reply to: J French: "Re: .tmp files"
- Next in thread: Jane: "Re: .tmp files"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 13 May 2004 13:22:23 -0400
The platform SDK indicates the following:
"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.
Windows Me/98/95: The GetTempPath 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 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.
-- Jim Carlock http://www.microcosmotalk.com/ Post replies to the newsgroup. "J French" wrote: On Thu, 13 May 2004 04:02:32 -0400, "Jim Carlock" <anonymous@127.0.0.1> wrote: <snip> > >I do what Randy does as well, but for some reason I tend to >set TMP to C:\Tmp and TEMP to C:\Temp. > >I figured there are two variables for different reasons, although >I'm not sure what those reasons are. They both are used by >FrontPage and Amaya and Visual Basic. I think that historically it was 'TMP' - and they changed it to 'TEMP' later It would be interesting to see what GetTempPath comes up with
- Next message: Robert: "Re: Calling procedure on another software"
- Previous message: Bob O`Bob: "Re: App Major.Minor.Revision and dll"
- In reply to: J French: "Re: .tmp files"
- Next in thread: Jane: "Re: .tmp files"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|