Watch, Follow, &
Connect with Us

Please visit our new home
community.embarcadero.com.


Welcome, Guest
Guest Settings
Help

Thread: Delphi 10.2.2: How to get temp directory



Permlink Replies: 2 - Last Post: Dec 21, 2017 7:56 AM Last Post By: Lajos Juhasz Threads: [ Previous | Next ]
roberto nicchi

Posts: 95
Registered: 4/11/01
Delphi 10.2.2: How to get temp directory
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 21, 2017 7:33 AM
IOUtils.TPath.GetTempPath is returning an empty string in one pc.

Is it a bug in Delphi 10.2.2

Is there another way to get the Windows temp directory ?

thanks
roberto nicchi

Posts: 95
Registered: 4/11/01
Re: Delphi 10.2.2: How to get temp directory
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 21, 2017 7:50 AM   in response to: roberto nicchi in response to: roberto nicchi
roberto nicchi wrote:
IOUtils.TPath.GetTempPath is returning an empty string in one pc.

Is it a bug in Delphi 10.2.2

Is there another way to get the Windows temp directory ?

thanks

Standby, probably is a problem with the OS

Roberto
Lajos Juhasz

Posts: 801
Registered: 3/14/14
Re: Delphi 10.2.2: How to get temp directory
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 21, 2017 7:56 AM   in response to: roberto nicchi in response to: roberto nicchi
roberto nicchi wrote:

roberto nicchi wrote:
IOUtils.TPath.GetTempPath is returning an empty string in one pc.

Is it a bug in Delphi 10.2.2

Is there another way to get the Windows temp directory ?

thanks

Standby, probably is a problem with the OS

Roberto

Delphi calls
https://msdn.microsoft.com/en-us/library/windows/desktop/aa364992(v=vs.8
5).aspx so it's must be OS related.
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02