1. Christopher Craft
  2. PowerBuilder
  3. Friday, 7 July 2023 22:52 PM UTC

PB 2022 1900

I have code that uses the ...\AppData\Local\Temp directory in order to process files. I am calling the Windows SHGetSpecialFolderPath in order to get this.  I now have a situation where I need to get the remote sessions folder \\tsclient\C\....\AppData\Local\Temp folder to process files.  I cannot see a call in Windows to get this.  Is there a trick to get this?

Thank you,

Chris Craft

Accepted Answer
John Fauss Accepted Answer Pending Moderation
  1. Saturday, 8 July 2023 20:05 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi, Chris - 

I realize you are trying to accomplish this from a PB application, but you might have better luck asking this question in a Citrix forum. I was able to locate what appears at first glance to be the Citrix equivalent to the Appeon Community Q&A:

    https://discussions.citrix.com/

Good luck!

Comment
There are no comments made yet.
mike S Accepted Answer Pending Moderation
  1. Saturday, 8 July 2023 20:32 PM UTC
  2. PowerBuilder
  3. # 1

Does it map it to environment variable TMP and TEMP?

 

string ls_values[]
ContextKeyword lcx_key

GetContextService ('Keyword', lcx_key)

lcx_key.GetContextKeywords ('TMP', ls_values[])
Return ls_values[1]

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.