Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Citrix Environment: How to access user local C without batch/ole file

Status
Not open for further replies.

neelsan

Programmer
Jul 18, 2011
2
US
Hi:
One of our PowerBuilder 10.5 application recently deployed in CITRIX Environment. Some of our reports generates/populates data in end user’s “C:\” drive. These drive location is hardcodedin local "C:\" drive. Since now, I see user "C" has become “C$(\\Client)(V:)” in Citrix. Now these reports are getting failed. Would appreciate, if someone can guide me(or share some sample PB code) to access end user’s “C:\” drive? Is there a way instead of “C:\”, can I specify Citric drive? Just replacing “C:” with “V:” is not working. Would be great if we implement directly in PB without touching Citrix, if possible. Thanks in advance.

- NeelSan
 
I'd take the approach of looking for a 'standard' windows folder using wscript.shell.
I wrote an article on it on my blog: Since Citrix users can be set up without a MyDocuments folder, you will want to make sure the folder exists prior to trying to write to it.

Matt

"Nature forges everything on the anvil of time"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top