Jos, I don't know why the path is changing, but it seems that the correct path should be:
"file://servername/my_apps_folder_name/adobe/the_pdf_filename.pdf"
Right?
To solve your problem, you could use the following code:
TPDF_FILE = SYS(5) + SYS(2003) + "\adobe\" + ALLTRIM( lcFileName )
TPDF_FILE = StrTran(TPDF_FILE,"//","/",2)
This way, you remove only the incorrect // and your code works as expected.
Emerson Santon Reed
"One Developer CAN Make a Difference. A community CAN make a future." - Craig Boyd