Get Desktop path #xpa #unipaas #desktop #path #desktoppath


kristel@...
 

Hi, how to get desktop path using unipaas? Tia.


Steven Blank
 

Assuming Variable A is an Alpha, Picture '255', Update variable A with the following expression:

StrBuild('@1@\Desktop', OSEnvGet('UserProfile'))

Depending on how you want to use this path, you might want to add a trailing backslash:

StrBuild('@1@\Desktop\', OSEnvGet('UserProfile'))

--
Steven G. Blank
Ξ SGBlank Consulting


kristel@...
 

On Mon, May 2, 2022 at 12:52 PM, Steven Blank wrote:
StrBuild('@1@\Desktop', OSEnvGet('UserProfile'))

Thank you so much, Sir Steven.:)